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 are 77 levels used for?
Can we use redefine clause in occurs clause?
What is the default value of DISP parameter?
What are the different data types in cobol?
which one is the best of com and com-3.using of real time ?
what is meant by binary search?
What are the various section in data division and briefly explain them.
PERFORM ACCUMULATE-TOTALS VARYING A FROM 1 BY 2 UNTIL A >2 AFTER B FROM1 BY 1 UNTIL B>2 AFTER C FROM 2 BY -1 UNTIL C<2 How many times the paragraph ACCUMULATE-TOTALS would be exicuted?
Can 88 level variable be declared in FD section..?
how to fetch the record before the last record in a cobol file( its a huge file and if the key field is not known)
what is Pic 9v99 Indicates?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?