Mainframe JCL and System Operations

Test your knowledge of JCL, JES, GDG, space allocation, and common system abends

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Maximum number of steps in a JCL

  1. 128
  2. 255
  3. 64
  4. 16
Question 2 Multiple Choice (Single Answer)

Maximum number of TRKs can be allocated with below SPACE statement. SPACE=(TRK,(4,1),RLSE)

  1. 5
  2. 15
  3. 61
  4. 9
Question 3 Multiple Choice (Single Answer)

In Step1 gdgname(+1) has been created and step1 executed successfully. In Step 2 if same data set need to be used. How to refer it?

  1. Gdgname(0)
  2. Gdgname(+1)
  3. Gdgname(-1)
  4. Gdgname(+2)
Question 4 Multiple Choice (Single Answer)

Primary space allocated first and then if required Secondary space will be allocated. b. Secondary space allocated first and then if required Primary space will be allocated. c. Primary and Secondary space allocated at the time of Job starts execution. d. Primary and Secondary space allocated at the time of Step starts execution. Which statement(s) is TRUE?

  1. a & c
  2. b & d
  3. a, c, d
  4. a only
Question 5 Multiple Choice (Single Answer)

Dispositional parameters for DISP=( , , ) ?

  1. (NEW,DELETE,DELETE)
  2. (NEW,CATLG,DELETE)
  3. (NEW,CATLG,UNCATLG)
  4. (MOD,CATLG,DELETE)
Question 6 Multiple Choice (Single Answer)

How JCL steps can be skipped?

  1. IF THEN/ELSE
  2. COND
  3. BOTH
  4. Steps cannot be skipped in JCL.
Question 7 Multiple Choice (Single Answer)

Possible ways to rectify S322, a. Change the CLASS b. TIME=1440 c. Remove abnormal logic in the code(like infinite looping). d. Change PRTY

  1. a & b only
  2. b & c only
  3. a, b, c only
  4. d only
Question 8 Multiple Choice (Single Answer)

Possible causes for S0C4 a. Reading a file that is not open. b. Invalid address referred due to subscript error c. Tried moving variable length record that was larger than target field size.

  1. a, b, & c
  2. a only
  3. a & b only
  4. b only
Question 9 Multiple Choice (Single Answer)

Maximum number of steps in a JCL

  1. 128
  2. 255
  3. 64
  4. 16
Question 10 Multiple Choice (Single Answer)

Maximum number of TRKs can be allocated with below SPACE statement. SPACE=(TRK,(4,1),RLSE)

  1. 5
  2. 15
  3. 61
  4. 9
Question 11 Multiple Choice (Single Answer)

In Step1 gdgname(+1) has been created and step1 executed successfully. In Step 2 if same data set need to be used. How to refer it?

  1. Gdgname(0)
  2. Gdgname(+1)
  3. Gdgname(-1)
  4. Gdgname(+2)
Question 12 Multiple Choice (Single Answer)

Primary space allocated first and then if required Secondary space will be allocated. b. Secondary space allocated first and then if required Primary space will be allocated. c. Primary and Secondary space allocated at the time of Job starts execution. d. Primary and Secondary space allocated at the time of Step starts execution. Which statement(s) is TRUE?

  1. a & c
  2. b & d
  3. a, c, d
  4. a only
Question 13 Multiple Choice (Single Answer)

Dispositional parameters for DISP=( , , ) ?

  1. (NEW,DELETE,DELETE)
  2. (NEW,CATLG,DELETE)
  3. (NEW,CATLG,UNCATLG)
  4. (MOD,CATLG,DELETE)
Question 14 Multiple Choice (Single Answer)

How JCL steps can be skipped?

  1. IF THEN/ELSE
  2. COND
  3. BOTH
  4. Steps cannot be skipped in JCL.
Question 15 Multiple Choice (Single Answer)

Possible ways to rectify S322, a. Change the CLASS b. TIME=1440 c. Remove abnormal logic in the code(like infinite looping). d. Change PRTY

  1. a & b only
  2. b & c only
  3. a, b, c only
  4. d only
Question 16 Multiple Choice (Single Answer)

Possible causes for S0C4 a. Reading a file that is not open. b. Invalid address referred due to subscript error c. Tried moving variable length record that was larger than target field size.

  1. a, b, & c
  2. a only
  3. a & b only
  4. b only
Question 17 Multiple Choice (Single Answer)

Maximum number of steps in a JCL

  1. 128
  2. 255
  3. 64
  4. 16
Question 18 Multiple Choice (Single Answer)

Maximum number of TRKs can be allocated with below SPACE statement. SPACE=(TRK,(4,1),RLSE)

  1. 5
  2. 15
  3. 61
  4. 9
Question 19 Multiple Choice (Single Answer)

In Step1 gdgname(+1) has been created and step1 executed successfully. In Step 2 if same data set need to be used. How to refer it?

  1. Gdgname(0)
  2. Gdgname(+1)
  3. Gdgname(-1)
  4. Gdgname(+2)
Question 20 True/False

2.JES2 allocate the space just before the step execution, JES3 allocate the space before job starts ( job came into Input Queue)

  1. True
  2. False