Multiple choice technology mainframe

If a generation data set is specified as input without the generation number, what will the input to the DD ?

  1. the most recent generation created

  2. the earliest generation created

  3. a concatenation of all the cataloged generations

  4. a jcl error will be returned to the job

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Referencing the base name of a Generation Data Group without a relative generation number (e.g., DSN=GDG.NAME) directs JCL to concatenate all cataloged generations of the group. Relative references like (0) or (-1) are required to target individual generations.