Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

I have GDG defined e.g. GDG.smaplegdg.base, after processing the GDG. it contains some records and which is input to the second step2.
How can I use GDG to use it as input file at step2.

Answer Posted / vaneesh khurana

In the same jcl if we have to refer a GDG version which was
build in any previous step then have to mention it as (+0)
not (+1)

//STEP1 DD DSN=GDG.smaplegdg.base(+1),
Disp=(NEW,CATLG,DELETE)

//STEP2 DD DSN=GDG.smaplegdg.base(+0),DISP=SHR

Is This Answer Correct ?    1 Yes 21 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?

1082


what are the types of abends that occur on job failure? And explain the possible causes of these

1561


A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?

1228


by using cond parameter maximum 8 cond can be coded in single cond means ?explain

1399


What dd statement is used to supply the name of a dataset?

1332


Explain how can a stopped job be started again?

1083


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

1065


Explain in DD statement what is the use of DCB parameter?

1084


What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?

1979


What are the utility programs in jcl?

1100


what is the JCL statement consists of?

1124


Is their any set of rules for dd? Explain.

1102


how do you access an uncataloged dataset in a jcl?

1635


How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?

1104


i want to store 20 digits . how will u do it in cobol ?

1325