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 |
88 class is used for
diffrence between z(2) and z9(2)
What is a scope terminator give example?
What will happen if a variable is declared as below.. Explain with an example? Working storage section:- 01 WS-VARX PIC X(10) VALUE 'ABCDEFGHIJ'. 01 WS-VARN REDEFINES WS-VARX PIC 9(5) VALUE '12345'. What will happen I am going to Display the WS-VARX and WS- VARN?
How to resolve the soc4 and soc7 errors?
How do you define a variable of comp-1 and comp-2?
I HAVE FOLLOWING DECLARATION. 02. A PIC X(10) VALUE 'XXXXXXXXXX'. 02. B REDEFINES A. 05. C PIC X(3). 05. D PIC X(3). 05. E PIC 9(3). IN MY PROG, I HAVE MOVE 1 TO E. DISPLAY A. WHAT WILL BE DISPLAYED AS A RESULT OF THIS? PLEASE EXPLAIN THE ANSWER. THANKS.
level number 77 is used to define a)group data b)elementary data c)redefine d)none
Write a program to enter and display the names of students in a class using the occurs clause.
have in 100 records in a file i want to move only matched records to one output_file1 and nonmathed records are moved to another output_file2 ... any one can provide logic code
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What is the difference between SEARCH and SEARCH ALL?