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

20 Questions Published

Questions

Question 1 True/False

2.SD37, SB37, SE37 – All three indicates dataset out of space.

  1. True
  2. False
Question 2 Multiple Choice (Single Answer)

S913

  1. Security violation.
  2. Region too small for the program
  3. No space in a library directory for this member's name
  4. Insufficient disk space.
Question 3 Multiple Choice (Single Answer)

U1006

  1. Executing with modules compiled both with RES and NORES
  2. COBOL sort failed.
  3. Subscript out of range
  4. Program didn't close a file before ending
Question 4 Multiple Choice (Multiple Answers)

S0C7

  1. Program attempting to do math on illegal data
  2. Bad boundary alignment for binary data
  3. Uninitialized packed-decimal fields
  4. An uncontrolled loop moved data on top of instructions
Question 5 Multiple Choice (Multiple Answers)

SOC4

  1. Index exceeds the size of table
  2. Very large record length/ wrong record length
  3. Insufficient disk space
  4. Trying to use File Section variables without opening the file
Question 6 Multiple Choice (Single Answer)

SB14

  1. Too many job steps
  2. Job was waiting too long.
  3. No space in a library directory for this member's name
  4. A volume was needed that could not be mounted
Question 7 Multiple Choice (Single Answer)

What is file status 92?

  1. Password failure
  2. Resource not available
  3. Logic error
  4. No DD statement specified for this file
Question 8 Multiple Choice (Single Answer)

What is the difference between SEARCH and SEARCH ALL?

  1. SEARCH - is a binarysearch. : SEARCH ALL - is serial search & the table must be sorted
  2. SEARCH - is a serial search : SEARCH ALL - is binary search & the table must be sorted
  3. Both are binary search
  4. SEARCH - is a binarysearch & the table is unsorted : SEARCH ALL - is serial search
Question 9 True/False

The OCCURS clause be at the 01 level.

  1. True
  2. False
Question 10 Multiple Choice (Single Answer)

What is the maximum length of a field you can define using COMP-1?

  1. 12 bytes
  2. 14 bytes
  3. 10 bytes
  4. 9 bytes
Question 11 Multiple Choice (Single Answer)

What is file status 41?

  1. An OPEN statement was attempted for a file in the open mode
  2. A CLOSE statement was attempted for a file not in the open mode
  3. An OPEN statement was attempted on a file previously closed with lock
  4. The execution of a WRITE statement was attempted on a file not open in the I-O, output, or extend mode
Question 12 Multiple Choice (Single Answer)

Assembly langauage is classified as

  1. High Level Language
  2. Low Level Language
  3. Mid Level Language
  4. None of the Above
Question 13 Multiple Choice (Single Answer)

Assembly language is transalated into machine code by

  1. Interpretor
  2. Compiler
  3. Assembler
  4. None of the above
Question 14 Multiple Choice (Single Answer)

Assembler does ___________ translation of mnemonic statements into machine instructions

  1. Duomorphic
  2. Isomorphic
  3. Trimorphic
  4. Translate
Question 15 Multiple Choice (Multiple Answers)

What are the different kinds of arithmetic Instructions?

  1. Binary Arithmetic
  2. Decimal Arithmetic
  3. Floating point arithmetic
  4. None of the Above
Question 16 Multiple Choice (Single Answer)

What are the address length of BC and EC operation modes?

  1. 32 and 32 bit respectively
  2. 24 and 32 bit respectively
  3. 24 and 24 bit respectively
  4. 32 and 24 bit respectively
Question 17 Multiple Choice (Multiple Answers)

What are the different ways to provide operands

  1. Registers
  2. Base Displacement addressing
  3. Indexed Base Displacement addressing
  4. Immediate data
Question 18 Multiple Choice (Multiple Answers)

What are the assembler instruction lengths in bytes

  1. 8
  2. 6
  3. 4
  4. 2
Question 19 Multiple Choice (Multiple Answers)

Identify the Assembler Instruction formats

  1. RR Instruction
  2. RX Instruction
  3. SS Instruction
  4. SI Instruction
Question 20 Multiple Choice (Multiple Answers)

What are national characters

  1. &
  2. #
  3. $
  4. @