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
How can you get the ksds file records into your cobol program?
How To move a value to an array using move verb?
Whats the difference between search & search ALL?
How To move a value to an array using move verb?
how to pass 100 to s9(4) how r they inserted ?
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?
can we use 77 level no for Redefines?if we use give an example?
How to increase the logical record length of existing PS file?
For rewrite, why is it mandatory that file needs to be opened?
i need a small 3d program using inline and outline.
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.
should I use Go back in the main program ? Yes we can use Go back in main program as well.