IBM Mainframe JCL and VSAM Fundamentals

Test your knowledge of IBM mainframe Job Control Language (JCL), VSAM data organization, and mainframe data set management concepts

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

What are parameters you can specify on Job statement as well as on exec stmt

  1. a) Prty, Region and Cond parameters
  2. b) Time, Class and Cond parameters
  3. c) Time, Region and Typrun parameters
  4. d) All the above
Question 2 Multiple Choice (Single Answer)

For how long a job can be executed continuously in a mainframe ?

  1. a) 248 Days
  2. b) 3650 Days
  3. c) 30 Days
  4. d) 7 Days
Question 3 Multiple Choice (Single Answer)

Max. No of DD statements in a job ?

  1. a) 3273
  2. b) 3723
  3. c) 2373
  4. d) 7323
Question 4 Multiple Choice (Single Answer)

Min no of member’s (PDS) in one directory block?

  1. a) 3
  2. b) 5
  3. c) 4
  4. d) 6
Question 5 Multiple Choice (Single Answer)

Can we browse or edit the GDG dataset if it is a tape entry?

  1. a) No
  2. b) Yes, only browse access
  3. c) Yes
  4. d) Only if you have a Super-ID
Question 6 Multiple Choice (Single Answer)

What is the highest priority parameter for a job

  1. a) 1
  2. b) 0
  3. c) 15
  4. d) 10
Question 7 Multiple Choice (Single Answer)

What is the maxium COND code?

  1. a) 3038
  2. b) 8
  3. c) 16
  4. d) 12
Question 8 Multiple Choice (Single Answer)

Consider the following Example IF RC < 16 THEN Step 1 Step 2 Step 3 Else Step 4 Step 5 End If What are the steps that would be executed If I restart an abended job from Step 2.

  1. a) 2,3
  2. b) 2,3,4,5,
  3. c) 1,2,3
  4. d) None of the above
Question 9 Multiple Choice (Single Answer)

What are the maximum and minimum sizes of any CONTROL AREA

  1. a) Minimum Size : 5 track Maximum size : 1 cylinder
  2. b) Minimum Size : 1 track Maximum size : 1 cylinder
  3. c) Minimum Size : 1 track Maximum size : 5 cylinder
  4. d) None
Question 10 Multiple Choice (Single Answer)

Alternate Index is a special type of

  1. a) KSDS
  2. b) ESDS
  3. c) RRDS
  4. d) None
Question 11 Multiple Choice (Single Answer)

When defining a KSDS, which of the following parameters is not required?

  1. a) Space allocation (either CYL, REC or TRK)
  2. b) VOLUMES
  3. c) KEYS
  4. d) NAME
Question 12 Multiple Choice (Single Answer)

If the key of a KSDS record begins in the second field (first field is 25 bytes long), the offset in the KEYS parameter is

  1. a) 24
  2. b) 25
  3. c) 26
  4. d) None
Question 13 Multiple Choice (Single Answer)

At OPEN, VSAM determines processing options in the following order

  1. a) JCL, program, catalog
  2. b) program, JCL, catalog
  3. c) JCL, catalog, program
  4. d) catalog, program, JCL
Question 14 Multiple Choice (Single Answer)

VSAM processing options could be specified in

  1. a) Catalog
  2. b) Program control blocks
  3. c) JCL
  4. d) All the above
Question 15 Multiple Choice (Single Answer)

For a data set defined with NOERASE, which of the following is not true?

  1. a) Desirable for sensitive data
  2. b) Removes catalog entries
  3. c) All the above
  4. d) None
Question 16 Multiple Choice (Single Answer)

Buffer space cannot be specified in which of the following?

  1. a) DD statement
  2. b) Assembler program
  3. c) AMS DEFINE
  4. d) COBOL program
Question 17 Multiple Choice (Single Answer)

An alternate index can be defined for which cluster type?

  1. a) KSDS and RRDS
  2. b) KSDS and ESDS
  3. c) KSDS and LDS
  4. d) KSDS only
Question 18 Multiple Choice (Single Answer)

Which of the following requires a DELETE/DEFINE before the command can be used to restore an existing data set?

  1. a) REPRO only
  2. b) IMPORT only
  3. c) Both REPRO and IMPORT
  4. d) Neither REPRO nor IMPORT
Question 19 Multiple Choice (Single Answer)

How many extents are possible for a VSAM file ?

  1. 16
  2. 15
  3. 122
  4. 123
Question 20 Multiple Choice (Single Answer)

The maximum number of steps in a job?

  1. a) 2 ^ 256
  2. b) 256
  3. c) 255
  4. d) 254