I have 5 generations in my GDG. How do I code in the JCL to
consider all the 5 versions of the GDG ?

Answers were Sorted based on User's Feedback



I have 5 generations in my GDG. How do I code in the JCL to consider all the 5 versions of the GDG..

Answer / archana

Specify only the GDG base. All the versions of GDG will be
considered.

Is This Answer Correct ?    24 Yes 0 No

I have 5 generations in my GDG. How do I code in the JCL to consider all the 5 versions of the GDG..

Answer / sucharita

Specify only the GDG base name without any version. It will
concatenate all the versions and consider it as one dataset.

Is This Answer Correct ?    16 Yes 2 No

I have 5 generations in my GDG. How do I code in the JCL to consider all the 5 versions of the GDG..

Answer / kabi

infile dd dsn=gdg base name,DISP=SHR----------Specify only
the GDG base name without any versionwe, have to mentioned
gdgbase then using SHR option.

Is This Answer Correct ?    11 Yes 1 No

I have 5 generations in my GDG. How do I code in the JCL to consider all the 5 versions of the GDG..

Answer / shridhar

Two options:

1. GDG base.
2. GDG(0) to GDG(5).

Is This Answer Correct ?    7 Yes 5 No

I have 5 generations in my GDG. How do I code in the JCL to consider all the 5 versions of the GDG..

Answer / guest

limit=5,
no scratch,
no empty

Is This Answer Correct ?    9 Yes 10 No

Post New Answer

More JCL Interview Questions

write a jcl to execute a job by 7:00 am on jan 20,1986?

0 Answers   IBM,


What is JCL LIB ?

3 Answers   Xansa,


what do you mean by include statement in jcl?

1 Answers   IBM,


What is the purpose of the PARM keyword in the EXEC statement?

3 Answers  


define cond parameter in jcl?

0 Answers   IBM,






There are 5 steps in a Job. How to bypass the first step by making use of only COND Parameter and not using any Restart and IF/THEN/ELSE parameter?

11 Answers   IBM,


what is the restart?hopw it is invoked?

1 Answers  


Is there a way to check for an empty file in JCL other than using IEBCOMPR and the command PRINT COUNT(1)?

8 Answers  


How to identify in JCL that an input file is empty without reading it?

4 Answers   L&T,


Is their any limit for data sets?

0 Answers  


if we give two job cards in a single what happens

3 Answers   IBM,


Explain about LMINIT - generate a data ID for a data set

1 Answers  


Categories