Mainframe JCL and System Operations
Test your knowledge of JCL, JES, GDG, space allocation, and common system abends
Questions
Maximum number of steps in a JCL
- 128
- 255
- 64
- 16
Maximum number of TRKs can be allocated with below SPACE statement. SPACE=(TRK,(4,1),RLSE)
- 5
- 15
- 61
- 9
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?
- Gdgname(0)
- Gdgname(+1)
- Gdgname(-1)
- Gdgname(+2)
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?
- a & c
- b & d
- a, c, d
- a only
Dispositional parameters for DISP=( , , ) ?
- (NEW,DELETE,DELETE)
- (NEW,CATLG,DELETE)
- (NEW,CATLG,UNCATLG)
- (MOD,CATLG,DELETE)
How JCL steps can be skipped?
- IF THEN/ELSE
- COND
- BOTH
- Steps cannot be skipped in JCL.
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
- a & b only
- b & c only
- a, b, c only
- d only
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.
- a, b, & c
- a only
- a & b only
- b only
Maximum number of steps in a JCL
- 128
- 255
- 64
- 16
Maximum number of TRKs can be allocated with below SPACE statement. SPACE=(TRK,(4,1),RLSE)
- 5
- 15
- 61
- 9
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?
- Gdgname(0)
- Gdgname(+1)
- Gdgname(-1)
- Gdgname(+2)
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?
- a & c
- b & d
- a, c, d
- a only
Dispositional parameters for DISP=( , , ) ?
- (NEW,DELETE,DELETE)
- (NEW,CATLG,DELETE)
- (NEW,CATLG,UNCATLG)
- (MOD,CATLG,DELETE)
How JCL steps can be skipped?
- IF THEN/ELSE
- COND
- BOTH
- Steps cannot be skipped in JCL.
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
- a & b only
- b & c only
- a, b, c only
- d only
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.
- a, b, & c
- a only
- a & b only
- b only
Maximum number of steps in a JCL
- 128
- 255
- 64
- 16
Maximum number of TRKs can be allocated with below SPACE statement. SPACE=(TRK,(4,1),RLSE)
- 5
- 15
- 61
- 9
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?
- Gdgname(0)
- Gdgname(+1)
- Gdgname(-1)
- Gdgname(+2)
2.JES2 allocate the space just before the step execution, JES3 allocate the space before job starts ( job came into Input Queue)
- True
- False