How can we know that cobol program is using report file or
simple file....?

Answers were Sorted based on User's Feedback



How can we know that cobol program is using report file or simple file....?..

Answer / bobby

Report Composer uses the AFTER ADVANCING phrase.
There is also a compiler option ADV/NOADV which tells that
this is report file.

Is This Answer Correct ?    2 Yes 0 No

How can we know that cobol program is using report file or simple file....?..

Answer / ashok

In addition to answer #1, if you want identify that by
looking at the JCL, then file format of FBA or VBA also
means that its a report file.

Is This Answer Correct ?    1 Yes 0 No

How can we know that cobol program is using report file or simple file....?..

Answer / jagan

Ashok, do we have a variable block attribute for a REPORT
file. As far as i have heard there is only FBA for a REPORT
file.

Is This Answer Correct ?    0 Yes 1 No

How can we know that cobol program is using report file or simple file....?..

Answer / suresh ramaiyan

If the program uses the simple file then the statement used
to write into that is "WRITE REC-NAME".

If the program uses the report file then the statement used
to write into that is "GENERATE REC-NAME".

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More COBOL Interview Questions

what is the meaning of pic 9(09)v99-

4 Answers   HSBC,


What is length is cobol?

0 Answers  


What is the local-storage section?

0 Answers  


i have mainprogram and subgram...if i compile mainprogram without stop run..what will u get in compilation time?

1 Answers   HCL,


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

0 Answers   HCL,






What is report-item?

1 Answers   IBM,


how do u link sub pgm to main pgm ?

2 Answers   TCS,


What is the meaning of 'Eject' verb in cobol?

2 Answers   TCS, Wipro,


i have a variable block which is used in my cobol program as input file having records of 4080 after compilation while runing the program im getiing file attribut mismatch and it is saying tht the record length of the file is 4084 can any one knw the answer how to reslove it ?

2 Answers  


What is the meaning of 'TALLING' verb in cobol?

5 Answers  


How can we pass data from cobol to JCl?

7 Answers   ADP, Amdocs, IBM,


How much salary you are expecting? If they ask in an interview, what we have to tell?

6 Answers   Tech Mahindra, Wipro,


Categories