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.
Questions
77 CTR PIC S9(4)V99 VALUE -1234.55. What will be the output of the statement DISPLAY CTR?
- 1234.55
- 12345N
- 12345E
- None of the above
What are the various types of VSAM Data Organizations available?
- PSDS, KADS, RRDS, VRRDS, LRDS
- ESDS, KSDS, RRDS, VRRDS, LDS
- ESDS, KRDS, RRDS, VLDS, VKDS
- PSDS, RKDS, KSDS, FRDS, LLDS
For creating a PDS file, we need to define Directory Block as 0.
- True
- False
COBOL was conceived in 1959. COBOL is a High Level Language.
- True
- False
What are the lengths of the areas A & B in COBOL?
- A: 8-11, B: 12-72
- A: 8-11, B: 12-80
- A: 8-12, B: 13-72
- A: 8-12, B: 13-80
Order of Divisions in COBOL program:
- IDENTIFICATION DIVISION
- ENVIRONMENT DIVISION
- DATA DIVISION
- PROCEDURE DIVISION
- True
- False
Which error code is shown by the system when Task exceeded the Execution Time (Task in Loop) ?
- APCT
- ASRB
- AICA
- ABMB
Which utility is used for Link Edit a program?
- IEKL
- IEWL
- IEBGENER
- IEFBR14
Which utility is used to CREATE, DELETE, COPY PS/PDS?
- IEWL
- DSNHPC
- IGYCRCTL
- IEFBR14
Which EIB field can be used for ERROR/EXCEPTION handling?
- EIBRESP1, EIBRESP2
- EIBRESP, EIBRESP1
- EIBRESP, EIBRESP2
- EIBRESP0, EIBRESP1
How many extents are possible for a sequential file?
- 20 extents on a volume for a sequential file
- 26 extents on a volume for a sequential file
- 14 extents on a volume for a sequential file
- 16 extents on a volume for a sequential file
How many extents are possible for a VSAM file
- 123 extents for a VSAM file.
- 113 extents for a VSAM file.
- 133 extents for a VSAM file.
- 143 extents for a VSAM file.
What happens if both JOBLIB & STEPLIB is specified?
- JOBLIB is ignored
- STEPLIB is ignored
- Both are active
- Both are ignored
What characters indicate the JCL card is a comment card
- /*/ in columns 1 – 3
- //* in columns 1 – 3
- //- in columns 1 - 3
- /-/ in columns 1 – 3
What does a disposition of (NEW,CATLG,DELETE) mean?
- Indicates a new dataset and allocated, to CATLG the dataset if the step is successful and to delete the dataset if the step abends.
- 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.
- 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.
- 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.
What are the three major types of JCL statements?
- JOB,TIME, PARM
- EXEC,TIME,PARM
- JOB, EXEC, DD
- DD,TIME,PARM
How do you reference the most current generation of a GDG (generation data group)?
- By placing a +1 in parenthesis immediately after a dataset name. As in DSN=GDG.NAME(+1)
- By placing a -0 in parenthesis immediately after a dataset name. As in DSN=GDG.NAME(-0)
- By placing a -1 in parenthesis immediately after a dataset name. As in DSN=GDG.NAME(-1)
- By placing a +0 in parenthesis immediately after a dataset name. As in DSN=GDG.NAME(+0)
What will make this step run if COND parm is COND=(0,NE)?
- 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).
- 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).
- 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).
- 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).
How would you limit the time allotted for a job?
- With a TIMELMT parm
- With a TIME parm
- With a TIMELIMIT parm
- With a TIMELT parm
What is S322 abend?
- Indicates a time out abend.
- Caused by invalid data in a numeric field.
- Storage violation error
- Indicate dataset out of space
What is CAS?
- Credit Authentication System
- Credit Analyzer System
- Credit Authorization System
- Commulative Analysis Store