Mainframe Programming: Natural, COBOL, and JCL
Test your knowledge of mainframe programming including Natural abend codes, COBOL programming, JCL concepts, DFSORT utilities, and DB2/SQL operations
Questions
How to differenciate between creting a PS and PDS using 3.2
- Value in Directory Blk
- Value in Blk Size
- Both
- None of the above
What is the minimum number of PDS in one Directory
- 4
- 5
- 6
- 7
which is the utility to copy sequential datasets
- IEBCOPY
- IEBGENER
- IEFBR14
- IDCAMS
Why occurs can not be used in 01 level ?
- 01 is record level
- No multiple record level fields
- Occurs repeat the fields only
- All of the above
Read the following code. 01 ws-n pic 9(2) value zero. a-para move 5 to ws-n. perform b-para ws-n times. b-para. move 10 to ws-n. How many times will b-para be executed ?
- 5
- 10
- infinite
- Never
How to create LIKE table
- Using the CREATE parameter in a LIKE table statement
- Using the LIKE parameter
- Using the LIKE parameter in a CREATE table statement
- None of the above
What is SPUFI
- SQL processing using file input
- SQ Linear processing using file input
- SQL processing using file
- None of the above
COBOL internal SORT and MERGE is done by
- SSRANGE
- COBOL COMPILER
- SYSTEM
- DFSORT
Abend code NAT0080?
- command or program name must start with a letter
- Output work file is full
- Numeric field is not allowed
- move operation failed
Abend code NAT0082?
- Format/ length conflict
- Invalid data for numeric input field
- Error during open processing
- Text is invalid command or program does not exist in the library
Abend code NAT0932?
- Format/ length conflict
- Input value for numeric field is not numeric
- program version error
- none of the above
Abend code NAT0936?
- Target field too small for field portion
- Format/ length conflict
- The output work file is full
- Error during open processing
Abend code NAT1100?
- Response code from adabas vista
- The output work file is full
- program version error
- Input value for numeric field is not numeric
Abend code NAT1305?
- Input not available
- Target field too small for field portion
- Numeric value truncated in Move/ Assign operation
- Invalid data for numeric input field
Abend code NAT1314?
- Target field too small for field portion
- The output work file is full
- Text is invalid command or program does not exist in the library
- option 2 & 3
Abend code NAT1507?
- no input file
- program not available in the library
- The output work file is full
- invalid program name
Abend code NAT1505?
- program version error
- Numeric value truncated in Move/ Assign operation
- Target field too small for field portion
- Invalid data for numeric input field
Abend code NAT1512?
- Error during open processing
- Response code from adabas vista
- The length of the record to be written exceeds the output dataset record length
- Format/ length conflict
Can DFSORT merge 17 files into a single file (using conventional merge)
- True
- False
Will steplib override the job library during execution?
- True
- False