Tag: mainframe
Questions Related to mainframe
Consider the following piece of code: IF NOT INPUT-EOF IF INPUT-REC-TYPE = '55' PERFORM 2100-PROCESS-WTN ELSE NEXT SENTENCE END-IF ADD +1 TO INPUT-COUNT. PERFORM TEST-1 If the value INPUT-REC-TYPE = '00' then what will happen to the value of INPUT-COUNT?
The SYNCHRONIZED LEFT / RIGHT clause which specifies alignment of elementary data item on storage boundary can be specified for data items defined with USAGE IS INDEX.
ASCENDING/DESCENDING KEY data item cannot be floating point items.
For successful execution of REWRITE stmt, the direct access file must be opened in _____ mode.
BLANK WHEN ZERO must not be specified for 66 or 88 level variables or signed fields.