IBM Mainframe: JCL, COBOL, VSAM, and CICS

Quiz covering IBM mainframe computing topics including JCL job control, COBOL programming, VSAM file structures, CICS transaction processing, and mainframe utilities.

21 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

77 CTR PIC S9(4)V99 VALUE -1234.55. What will be the output of the statement DISPLAY CTR?

  1. 1234.55
  2. 12345N
  3. 12345E
  4. None of the above
Question 2 Multiple Choice (Single Answer)

What are the various types of VSAM Data Organizations available?

  1. PSDS, KADS, RRDS, VRRDS, LRDS
  2. ESDS, KSDS, RRDS, VRRDS, LDS
  3. ESDS, KRDS, RRDS, VLDS, VKDS
  4. PSDS, RKDS, KSDS, FRDS, LLDS
Question 3 True/False

For creating a PDS file, we need to define Directory Block as 0.

  1. True
  2. False
Question 4 True/False

COBOL was conceived in 1959. COBOL is a High Level Language.

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

What are the lengths of the areas A & B in COBOL?

  1. A: 8-11, B: 12-72
  2. A: 8-11, B: 12-80
  3. A: 8-12, B: 13-72
  4. A: 8-12, B: 13-80
Question 6 True/False

Order of Divisions in COBOL program:

  • IDENTIFICATION DIVISION
  • ENVIRONMENT DIVISION
  • DATA DIVISION
  • PROCEDURE DIVISION
  1. True
  2. False
Question 7 Multiple Choice (Single Answer)

Which error code is shown by the system when Task exceeded the Execution Time (Task in Loop) ?

  1. APCT
  2. ASRB
  3. AICA
  4. ABMB
Question 8 Multiple Choice (Single Answer)

Which utility is used for Link Edit a program?

  1. IEKL
  2. IEWL
  3. IEBGENER
  4. IEFBR14
Question 9 Multiple Choice (Single Answer)

Which utility is used to CREATE, DELETE, COPY PS/PDS?

  1. IEWL
  2. DSNHPC
  3. IGYCRCTL
  4. IEFBR14
Question 10 Multiple Choice (Single Answer)

Which EIB field can be used for ERROR/EXCEPTION handling?

  1. EIBRESP1, EIBRESP2
  2. EIBRESP, EIBRESP1
  3. EIBRESP, EIBRESP2
  4. EIBRESP0, EIBRESP1
Question 11 Multiple Choice (Single Answer)

How many extents are possible for a sequential file?

  1. 20 extents on a volume for a sequential file
  2. 26 extents on a volume for a sequential file
  3. 14 extents on a volume for a sequential file
  4. 16 extents on a volume for a sequential file
Question 12 Multiple Choice (Single Answer)

How many extents are possible for a VSAM file

  1. 123 extents for a VSAM file.
  2. 113 extents for a VSAM file.
  3. 133 extents for a VSAM file.
  4. 143 extents for a VSAM file.
Question 13 Multiple Choice (Single Answer)

What happens if both JOBLIB & STEPLIB is specified?

  1. JOBLIB is ignored
  2. STEPLIB is ignored
  3. Both are active
  4. Both are ignored
Question 14 Multiple Choice (Single Answer)

What characters indicate the JCL card is a comment card

  1. /*/ in columns 1 – 3
  2. //* in columns 1 – 3
  3. //- in columns 1 - 3
  4. /-/ in columns 1 – 3
Question 15 Multiple Choice (Single Answer)

What does a disposition of (NEW,CATLG,DELETE) mean?

  1. Indicates a new dataset and allocated, to CATLG the dataset if the step is successful and to delete the dataset if the step abends.
  2. Indicates a new dataset and needs to be allocated, to CATLG the dataset if the step is unsuccessful and to delete the dataset if the step abends.
  3. Indicates a new dataset and needs to be allocated, to CATLG the dataset if the step is successful and to delete the dataset if the step abends.
  4. Indicates a new dataset and allocated, to CATLG the dataset if the step is unsuccessful and to delete the dataset if the step not abends.
Question 16 Multiple Choice (Single Answer)

What are the three major types of JCL statements?

  1. JOB,TIME, PARM
  2. EXEC,TIME,PARM
  3. JOB, EXEC, DD
  4. DD,TIME,PARM
Question 17 Multiple Choice (Single Answer)

How do you reference the most current generation of a GDG (generation data group)?

  1. By placing a +1 in parenthesis immediately after a dataset name. As in DSN=GDG.NAME(+1)
  2. By placing a -0 in parenthesis immediately after a dataset name. As in DSN=GDG.NAME(-0)
  3. By placing a -1 in parenthesis immediately after a dataset name. As in DSN=GDG.NAME(-1)
  4. By placing a +0 in parenthesis immediately after a dataset name. As in DSN=GDG.NAME(+0)
Question 18 Multiple Choice (Single Answer)

What will make this step run if COND parm is COND=(0,NE)?

  1. Run if return codes from any previous step(s) were equal to zero. Skip this step if the return code from any previous steps are not equal to zero (0,NE).
  2. Run if return codes from any previous step(s) were not equal to zero. Skip this step if the return code from any previous steps are equal to zero (0,NE).
  3. Run if return codes from any previous step(s) were equal to zero. Run this step if the return code from any previous steps are not equal to zero (0,NE).
  4. Run if return codes from any previous step(s) were not equal to zero. Run this step if the return code from any previous steps are not equal to zero (0,NE).
Question 19 Multiple Choice (Single Answer)

How would you limit the time allotted for a job?

  1. With a TIMELMT parm
  2. With a TIME parm
  3. With a TIMELIMIT parm
  4. With a TIMELT parm
Question 20 Multiple Choice (Single Answer)

What is S322 abend?

  1. Indicates a time out abend.
  2. Caused by invalid data in a numeric field.
  3. Storage violation error
  4. Indicate dataset out of space
Question 21 Multiple Choice (Single Answer)

What is CAS?

  1. Credit Authentication System
  2. Credit Analyzer System
  3. Credit Authorization System
  4. Commulative Analysis Store