Mainframe: COBOL, JCL and DL/I Fundamentals
Test your knowledge of IBM mainframe technologies including COBOL programming, JCL statements, DD parameters, JES3 commands, and DL/I database operations.
Questions
What is the column range for Area A and Area B in COBOL:
- 1-6 and 7-72
- 8-11 and 12:72
- 1-15 and 16:80
- None of the above
What is the no. of bytes occupied for a variable if it’s defined as PIC S9(7) COMP-3 and PIC S9(10) COMP
- 2 and 3
- 4 and 5
- 7 and 6
- none of the above
If the access mode for any file is Dynamic, the file can be accessed both SEQUENTIALLT AND RANDOMLY
- True
- False
What are the acceptable types of the COBOL identifiers
- Alphanumeric
- Numeric
- Alphabetic
- all the above
Segment is the smallest information that DL/I can fetch.
- True
- False
Which of the following is not the mode of processing.
- BATCH DL/I MODE
- MPP MODE
- CMP MODE
- BMP MODE
Which procopt option is used to read the segment?
- D
- I
- G
- R
Which command code is used to retrieve a path?
- F
- L
- D
- U
What are the Two basic database organizations which DL/I provides?
- HIERARCHICAL INDEXED
- HIERARCHICAL SEQUENTIAL
- HIERARCHICAL DIRECT
- HIERARCHICAL ACCESS
What is true about Restart Call (XRST)?
- USED TO RESTART A PROGRAM AFTER ABNORMAL TERMINATION
- RESTART FROM SPECIFIC CHECKPOINT ID
- MUST BE THE FIRST CALL IN THE PROGRAM
- All of the above
Command Code ___ is used to set parentage to a specific segment in the hierarchy used in SSA's.
- D
- P
- F
- C
Modes of INSERT are?
- LOAD MODE
- INSERT MODE
- UPDATE MODE
- MODIFY MODE
What should be the status code if call specifies an invalid SSA?
- AC
- AJ
- AI
- AK
What statement can be used to send data to another MVS JES3 node ?
- CONNECT
- XMIT
- LINK
- TRANSMIT
What is the function of //CNTL statement ?
- Delimits the PROC control statements
- Identifies the control card library
- Marks the beginning of one or more program control statements
- None of the above
How can a JES3 operator command be entered through the jobstream?
- Through the OPERATOR statement
- Through the console statement
- Through the COMMAND statement
- Through the //** statement
In SMS datasets, what is the function of the DD MGMTCLAS keyword?
- Lookup a storage profile from the class library
- Specify a management class for a new dataset
- Alters the default storage profile for the dataset
- Begin a storage class definition block
What is the purpose of the DD KEYLEN parameter?
- Specify the length of a data set key in bytes
- Override the key length of an SMS defined VSAM dataset
- Override the key length specified in the dataset label
- All of the above
What is the maximum size of a 01 level item in COBOL II?
- 16667899
- 16777215
- 25879654
- 158742636
Can you call an OS VS COBOL pgm from a VS COBOL II pgm ?
- In non-CICS environment, it is possible
- In CICS, this is not possible
- Both of above
- None of above