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 give TIME = (1440, 59) also ? or is TIME = (1439, 59) is the last one ?

5 Answers   IBM,


What is jcl in mainframe?

0 Answers  


whats the diff bw the evaluate also and and?

0 Answers   CGI,


Is automatic restart possible in jcl? If yes, how?

0 Answers  


which parameter is used to check the syntax of a jcl without executing it?

0 Answers   IBM,






How do you handle empty files in a JCL ?

3 Answers   Wipro, Xansa,


What is the use of the utility DFSRRC00 in the JCL?

2 Answers   Convergys,


If I update one or more members in a pds in the step 1, how can I reach these new contents to be used in the step 2 of the same job? To start a new job via intrdr is not satisfactory, because I must solve this problem in one job.

2 Answers   IBM,


Explain the function of job statement in jcl?

0 Answers  


Why 16 is used in calculating the DPRTY ? as, DPRTY = (num1, num2), THEN, DPRTY = 16* num1 + num2

4 Answers   IBM,


How to get cursor position from system in CICS environment ?

8 Answers  


i have a jcl calling proc which has 10 steps, i want to execute from step5 to step10, where can i code RESTART and COND parameter?

6 Answers   IBM,


Categories