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.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

What is the column range for Area A and Area B in COBOL:

  1. 1-6 and 7-72
  2. 8-11 and 12:72
  3. 1-15 and 16:80
  4. None of the above
Question 2 Multiple Choice (Single Answer)

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

  1. 2 and 3
  2. 4 and 5
  3. 7 and 6
  4. none of the above
Question 3 True/False

If the access mode for any file is Dynamic, the file can be accessed both SEQUENTIALLT AND RANDOMLY

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

What are the acceptable types of the COBOL identifiers

  1. Alphanumeric
  2. Numeric
  3. Alphabetic
  4. all the above
Question 5 True/False

Segment is the smallest information that DL/I can fetch.

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

Which of the following is not the mode of processing.

  1. BATCH DL/I MODE
  2. MPP MODE
  3. CMP MODE
  4. BMP MODE
Question 7 Multiple Choice (Single Answer)

Which procopt option is used to read the segment?

  1. D
  2. I
  3. G
  4. R
Question 8 Multiple Choice (Single Answer)

Which command code is used to retrieve a path?

  1. F
  2. L
  3. D
  4. U
Question 9 Multiple Choice (Multiple Answers)

What are the Two basic database organizations which DL/I provides?

  1. HIERARCHICAL INDEXED
  2. HIERARCHICAL SEQUENTIAL
  3. HIERARCHICAL DIRECT
  4. HIERARCHICAL ACCESS
Question 10 Multiple Choice (Single Answer)

What is true about Restart Call (XRST)?

  1. USED TO RESTART A PROGRAM AFTER ABNORMAL TERMINATION
  2. RESTART FROM SPECIFIC CHECKPOINT ID
  3. MUST BE THE FIRST CALL IN THE PROGRAM
  4. All of the above
Question 11 Multiple Choice (Single Answer)

Command Code ___ is used to set parentage to a specific segment in the hierarchy used in SSA's.

  1. D
  2. P
  3. F
  4. C
Question 12 Multiple Choice (Multiple Answers)

Modes of INSERT are?

  1. LOAD MODE
  2. INSERT MODE
  3. UPDATE MODE
  4. MODIFY MODE
Question 13 Multiple Choice (Single Answer)

What should be the status code if call specifies an invalid SSA?

  1. AC
  2. AJ
  3. AI
  4. AK
Question 14 Multiple Choice (Single Answer)

What statement can be used to send data to another MVS JES3 node ?

  1. CONNECT
  2. XMIT
  3. LINK
  4. TRANSMIT
Question 15 Multiple Choice (Single Answer)

What is the function of //CNTL statement ?

  1. Delimits the PROC control statements
  2. Identifies the control card library
  3. Marks the beginning of one or more program control statements
  4. None of the above
Question 16 Multiple Choice (Single Answer)

How can a JES3 operator command be entered through the jobstream?

  1. Through the OPERATOR statement
  2. Through the console statement
  3. Through the COMMAND statement
  4. Through the //** statement
Question 17 Multiple Choice (Single Answer)

In SMS datasets, what is the function of the DD MGMTCLAS keyword?

  1. Lookup a storage profile from the class library
  2. Specify a management class for a new dataset
  3. Alters the default storage profile for the dataset
  4. Begin a storage class definition block
Question 18 Multiple Choice (Single Answer)

What is the purpose of the DD KEYLEN parameter?

  1. Specify the length of a data set key in bytes
  2. Override the key length of an SMS defined VSAM dataset
  3. Override the key length specified in the dataset label
  4. All of the above
Question 19 Multiple Choice (Single Answer)

What is the maximum size of a 01 level item in COBOL II?

  1. 16667899
  2. 16777215
  3. 25879654
  4. 158742636
Question 20 Multiple Choice (Single Answer)

Can you call an OS VS COBOL pgm from a VS COBOL II pgm ?

  1. In non-CICS environment, it is possible
  2. In CICS, this is not possible
  3. Both of above
  4. None of above