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 happens if we wont give timestamp in precompilation process ?
What is the size of s9(19)comp3? explain
if a dataset is already created with fixed length but after that i want to change fixed length to variable length then how is it possible
If there are two copybooks which have same variables and we are using both the copybooks in our program. will there be an error and if i move values to the variable which copybook varibales gets the values i move in.
77 a pic x(4) value '1234' -----> instead of this 'abcd' 77 b pic 9(4) value zeros. move a to b what is the answers for both cases? IS it possible? Give me elementary move rules briefly......
What is comp-1 and comp-2?
What R 2 of the common forms of the EVALUATE STATEMENT ?
Suppose i want to declare a binary comp fild of 7 byte .how to write?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
With in these three which one is the default one Call Reference, Call By Value, Call By Content.-Which one is default?
if you give cylinder(1,1)how many cylinders it will be allocate?
where will we code call by content and call by reference dude pls reply soon ?