Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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

how can we override data definitions in jcl. can any one give detailed example

3 Answers   TCS,


There are two input sorting files and there is a need to create one sort out file which contains data of both input files. What is the sort card for this. Write a sample JCL for this using a control card?

3 Answers  


what is the compile process of cobol program expalin with code

0 Answers   IBM,


Suppose I have a file with three fields with data in the following format 1. empid - S9(4) COMP 2. empname - X(20) 3. empsal - S9(5)V(2) COMP-3 If I view this file, it will not be in a readable format. How to display the empid and empsal fields in a readable format without using COBOL program? What kind of SORT card will have to be coded?

4 Answers  


. What is the difference between the following statements : I) step#1 exec PGM=accpay ii) step#1 exec tbalance

1 Answers  






what are the statements that are not valid to be included in an include statement?

0 Answers   IBM,


How to execute a set of JCL statements from a COBOL program ?

6 Answers  


HOW TO CONVERT VARIABLE BLOCK TO FIXED BLOCK ?

1 Answers   IBM,


what is the cond=even only

4 Answers   EDS,


in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?

0 Answers   IBM,


Name the system library from which modules are retrieved at execution

3 Answers  


Is their any set of rules for dd? Explain.

0 Answers  






Categories