consider the following
FD FILE-1
01 REC-1 PIC X(80)
......
WORKING-STORAGE SECTION
01 W-REC PIC X(90)
........
PROCEDURE DIVISION
FIRST-PARA
.......
READ FILE-1 INTO W-REC AT END MOVE 1 TO EOF-FLAG
which of the following is true with respect to the above?
a.REC-1 will contain nothing and W-REC will contain the
contains of the
record read
b.REC-1 and W-REC contain the same data
c.syntex is invalid and error will occur
d.REC-1 and W-REC must be of same size
What is the Purpose of POINTER Phrase in STRING command in COBOL?
How do u know what version of cobol u are using?
how to change picture class of copy book variable inside program?
What is the difference between performing a SECTION and a PARAGRAPH?
how we can edit records in vsam data set and non vsam data sets
I have a COBOL main program which is calling sub program, the number of calling parameters used in main program are 4 whereas in sub program it's 5. Sub program is passing 5 parameters back to main program Will there be any compilation error? Or main program parameters displays junk values?
how can you identify wheather the program is using search or search all in the cobol program?
How can you add a particular field in copybook?
in cobol perform stmt whether it first checks the condition or not
How do you get the data to code the BMS macro?
What is the difference between Structured COBOL Programming and Object Oriented COBOL ?
01 var1 pic s9(9)v99. 01 var2 pic x(30). procedure division. move 12345.99 to var1. move12345.99 to var2. display var1. display var2. what is the output?