What is file status 92?
File is opened for input and an attempt is made To write to it (or Logic error).
Mismatch in LRECL or BLOCKSIZE or RECFM between your COBOL pgn and the JCL ( or the dataset label).
Attempted to open a file that is already open.
File not found.
Condition 1 AND Condition 2 Condition 1 is be true 80% of times and Condition 2 is true 20% of times. If both conditions are processed with IF command, then conditions should be coded in which order?
Condition 1 And Condition 2
Condition 2 And Condition 1
None of the above
Does not depend on the order.
What is the file status for File not found.
4
6
13
35
01 WS-TOP PIC X(1) 01 WS-TOP-RED REDEFINES WS-TOP PIC X(2). If you MOVE "12" to WS-TOP-RED, DISPLAY WS-TOP will show
12
1
2
121
How is sign stored in a COMP field?
In the least significant bit. Bit is ON if -ve, OFF if +ve.
In the most significant bit. Bit is ON if -ve, OFF if +ve.
In the least significant bit. Bit is ON if +ve, OFF if -ve.
In the most significant bit. Bit is ON if +ve, OFF if -ve.
What can be the possible cause for SOC-7 error?
An un-initialized numeric item.
Data exception(data items have invalid data).
Both 1 and 2 are correct
How many bytes will a S9(8) COMP field occupy?
8
16
What is a scope terminator?
Scope terminator is used to mark the end of a verb
Scope terminator is used to mark the end of a statement
Both 1 and 2
How many subscripts or indexes are allowed for an OCCURS clause?
5
7
What are the minimum requirements to compile a program without errors?
Identification Division. Program-ID. Program-name.
Identification Division. Program-ID. Program-name. Environment Division.
Identification Division. Program-ID. Program-name. Environment Division. Data Division.
Identification Division. Program-ID. Program-name. Environment Division. Data Division. Procedure Division.