IBM Mainframe Technologies Quiz - COBOL, JCL, TPF, Easytrieve

Test your knowledge of IBM mainframe technologies including COBOL programming, JCL job control, TPF system programming, and Easytrieve data processing.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

What all sections are mandatory for an easytrieve program with SORT activity?

  1. Library, Activity
  2. Environment, Activity
  3. Activity
  4. Environmet, Library
Question 2 Multiple Choice (Single Answer)

A field in the file defenition of an easytrieve program can be of the following format

  1. A, N, P, B, U
  2. A, N, H, B, U
  3. A, N, D, H, B
  4. C, N, P, B, U
Question 3 Multiple Choice (Single Answer)

Which of the file defenition is correct here? A)NAME * 10 A B)NAME +10 10 A C)NAME 10 10 A D)NAME IN-FILE +10 10 A

  1. A,B,C
  2. B,C
  3. B,C,D
  4. A,B,C,D
Question 4 True/False

"Using a SORT activty, an easytrieve program can sort any file that can not be processed sequentially". is the statement true?

  1. True
  2. False
Question 5 True/False

"Even for a single fetch from DB2 table, cursor is required in an easytrieve program.". Is the statement true?

  1. True
  2. False
Question 6 True/False

AAA is a volatile record

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

Control Program in ECB is

  1. CTRLPGM
  2. SYSOP
  3. OPZERO
  4. SYSPGM
Question 8 Multiple Choice (Single Answer)

How many data blocks are present in tpf

  1. 8
  2. 16
  3. 12
  4. 24
Question 9 Multiple Choice (Single Answer)

Which Register will point to ECB when the program is under execution

  1. R8
  2. R12
  3. R9
  4. R10
Question 10 Multiple Choice (Single Answer)

Which Macro describes the layout of the ECB

  1. WA0AA
  2. EB0EB
  3. MI0MI
  4. CA0CAL
Question 11 Multiple Choice (Multiple Answers)

Choose the applicable Block size used in TPF

  1. 128 byte
  2. 256 byte
  3. 1055 byte
  4. 512 byte
  5. 381 byte
  6. 4k byte
Question 12 True/False

Common Block usage for application will impact the system

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

What is the indicator for no block attached type.

  1. 0
  2. 1
  3. 21
  4. 31
Question 14 True/False

Process can't be preempted in TPF

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

AAA expansion

  1. Actual Assembly Area
  2. Agent Arrival Area
  3. Agent Assembly Area
  4. Actual Assembly Agent
Question 16 Multiple Choice (Single Answer)

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

  1. 10 Bytes
  2. 12 Bytes
  3. 14 Bytes
  4. 16 Bytes
Question 17 Multiple Choice (Single Answer)

What will happen if you code GO BACK instead of STOP RUN in a stand alone COBOL program i.e. a program which is not calling any other program.

  1. Nothing, the program will behave normally.
  2. The program will go in an infinite loop
  3. The program will not get complied.
  4. Output files wont be generated.
Question 18 Multiple Choice (Single Answer)

What is the difference between PIC 9.99 and 9v99?

  1. PIC 9.99 is a THREE-POSITION field where as PIC 9v99 is FOUR-POSITION numeric field.
  2. No difference.
  3. PIC 9.99 is a FOUR-POSITION field where as PIC 9v99 is THREE-POSITION numeric field
  4. PIC 9.99 takes less space then PIC 9V99.
Question 19 Multiple Choice (Single Answer)

What is S322 abend ?

  1. Load Module not found
  2. Output files not defined in JCL
  3. DD name is incorrect
  4. Indicates a time out abend
Question 20 Multiple Choice (Single Answer)

How can you trap abends in the JCL?

  1. Use IF ABEND statement in the JCL
  2. Use COND
  3. Both a and b
  4. None