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 |
Re: 01 NAME1 PIC X(13) VALUE "COBOL PROGRAMMING". 01 NAME2 PIC X(13). now I want to display the value of NAME1 in reverse order i.e value should be displayed as "GNIMMARGORP LOBOC" HOW can I do that ??? please let me know if any one knows it.
01 a pic x(4) value 'abcd' 01 b pic 9(3) can we move from a to b.if possible what would be stored in b.
I have a sequential file of 100 records. How do I load the records into a two dimensional array ?
What is the difference between write & move in COBOL?
01 a pic s9(5) value -12345, if we disply a , the sign will overpunched with last digit but i need to get the miuns sign in the result?
What are differences between COBOL and java ? why we are giving more preference to COBOL ?
wht is structured cobol pgm and non structred cobol pgm ?
how many maximum no of variables can be declared in linkage section ?
When and how can we use index & subscript ?
what is the difference between external and global variables?
Can we change the password using ALTER? anyone tried and changed?
What is the LINKAGE SECTION used in COBOL?