How can we know that cobol program is using report file or
simple file....?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
what happens when a copybook variables are declared using include statement ?
I have the file which is having the extension no as records. sample file will look like below. 2310 3410 3256 4350 3781 5408 I need to replace the record which is starting with 3 to 5 (i.e) 3410 to 5410. How can we do it through cobol and cobol-db2 program? I need the possible logic?
If you were passing a table via linkage, which is preferable - a subscript or an index?
What does the initialize statement do ?
What is the difference between CONTINUE & NEXT SENTENCE ?
How do you define a variable of COMP-1? COMP-2?
What are the different types of condition in cobol and write their forms.
01 a pic s9(5) value '-12345' how it will be stored
How to read the last 100 records from a COBOL file. The file contains N number of records.
can i give 9(10) in comp 3 instead of s9(10) ? if i can give wht would be ths ans
01 a pic 9(6) value is 123456 01 b pic 9(3) move a to b wht will be the value ?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?