Mainframe Assembly Language, COBOL, and System Operations
Quiz covering IBM mainframe topics including Assembly language programming, COBOL language features, file handling, JCL errors, and system abend codes
Questions
2.SD37, SB37, SE37 – All three indicates dataset out of space.
- True
- False
S913
- Security violation.
- Region too small for the program
- No space in a library directory for this member's name
- Insufficient disk space.
U1006
- Executing with modules compiled both with RES and NORES
- COBOL sort failed.
- Subscript out of range
- Program didn't close a file before ending
S0C7
- Program attempting to do math on illegal data
- Bad boundary alignment for binary data
- Uninitialized packed-decimal fields
- An uncontrolled loop moved data on top of instructions
SOC4
- Index exceeds the size of table
- Very large record length/ wrong record length
- Insufficient disk space
- Trying to use File Section variables without opening the file
SB14
- Too many job steps
- Job was waiting too long.
- No space in a library directory for this member's name
- A volume was needed that could not be mounted
What is file status 92?
- Password failure
- Resource not available
- Logic error
- No DD statement specified for this file
What is the difference between SEARCH and SEARCH ALL?
- SEARCH - is a binarysearch. : SEARCH ALL - is serial search & the table must be sorted
- SEARCH - is a serial search : SEARCH ALL - is binary search & the table must be sorted
- Both are binary search
- SEARCH - is a binarysearch & the table is unsorted : SEARCH ALL - is serial search
The OCCURS clause be at the 01 level.
- True
- False
What is the maximum length of a field you can define using COMP-1?
- 12 bytes
- 14 bytes
- 10 bytes
- 9 bytes
What is file status 41?
- An OPEN statement was attempted for a file in the open mode
- A CLOSE statement was attempted for a file not in the open mode
- An OPEN statement was attempted on a file previously closed with lock
- The execution of a WRITE statement was attempted on a file not open in the I-O, output, or extend mode
Assembly langauage is classified as
- High Level Language
- Low Level Language
- Mid Level Language
- None of the Above
Assembly language is transalated into machine code by
- Interpretor
- Compiler
- Assembler
- None of the above
Assembler does ___________ translation of mnemonic statements into machine instructions
- Duomorphic
- Isomorphic
- Trimorphic
- Translate
What are the different kinds of arithmetic Instructions?
- Binary Arithmetic
- Decimal Arithmetic
- Floating point arithmetic
- None of the Above
What are the address length of BC and EC operation modes?
- 32 and 32 bit respectively
- 24 and 32 bit respectively
- 24 and 24 bit respectively
- 32 and 24 bit respectively
What are the different ways to provide operands
- Registers
- Base Displacement addressing
- Indexed Base Displacement addressing
- Immediate data
What are the assembler instruction lengths in bytes
- 8
- 6
- 4
- 2
Identify the Assembler Instruction formats
- RR Instruction
- RX Instruction
- SS Instruction
- SI Instruction
What are national characters
- &
- #
- $
- @