Tag: mainframe
Questions Related to mainframe
How many bytes will be used to store data internally for a variable defined as PIC S9(8)V99 Comp-3?
MAIN-PARA. MOVE 10 TO WS-CTR PERFORM PARA-1 WS-CTR TIMES END-PERFORM. PARA-1. MOVE 20 TO WS-CTR. How many times the PARA-1 will be performed when the above code is executed?
Can we redefine an existing X(100) field with a new field of X(200)?
What is the maximum length that can be defined for a Numeric field?
DISPLAY 'This is COBOL Test' The above statement is coded in a COBOL program. Where will the text be displayed, when this program is executed?