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

Can we use COND=EVEN on a job card, when jobs are scheduled through scheduler?

1 Answers   L&T,


What is DISP= (NEW,PASS,DELETE)?

3 Answers   HCL,


How can we execute only one step in a job

22 Answers   MAHINDRA, Mind Tree, Tech Mahindra,


Is their any limit for data sets?

0 Answers  


What does a disposition of (NEW,CATLG,DELETE) mean?

3 Answers  






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

4 Answers  


Does jcl support automatic restart?

0 Answers  


I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?

0 Answers  


Suppose i have 2 steps in my pgm. Step1- creates a file, Step2 - generates report from file in step1, What changes have to be made in Step2, so that if the file in Step1 is empty Step2 should not be executed? No changes to be made to Step1.

4 Answers   TCS,


Explain about LMOPEN -

1 Answers  


What parameters can be used to limit the number of records written to a sysout dataset?

0 Answers  


How do you create a temporary dataset? Where will you use them?

2 Answers   IBM,


Categories