Tag: mainframe
Questions Related to mainframe
The following portion of procedure division MOVE 0 TO A, I. PARA-1. ADD 3 TO A. ADD 2 TO I. IF I < a=" ‘,">B MOVE A TO C ELSE MOVE B TO C. ADD C TO D. Indicate which one of the following does not support the above statements
IF NOT AGE LESS THAN 30 AND 40 GO TO PARA-AGE-MIDDLES. The controls will go to the paragraph named PARA-AGE-MIDDLE.
Determine the total number of bytes in the following. 01 REC-1. 02 FIRST-GROUP. 03 A1 PIC X(4). 03 A2 PIC 99. 02 REDEFINES FIRST-GROUP. 03 A3 PIC 999. 03 A4 PIC 999. 02 THIRD-GROUP. 03 A5 OCCURS 5 TIMES PIC 99.
Determine the bytes 01 REC-1. 01 A PIC X(6). 02 B REDEFINES A. 03 C OCCURS 6 TIMES PIC 9. 02 D OCCURS 4 TIMES. 03 E PIC X(5). 03 F PIC 999