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 is job control language?

1147


Where can program checkpoints be stored for use in a restart?

1485


Differentiate between the joblib and the steplib statements?

1519


What is the purpose of dd?

1294


How can a fb file convert to vb file using sort program?

1394


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY

1437


Is it possible to left uncode disp?

1249


what operation is performed by job statement?

1174


what is use of dcb parameter in dd statement?

1345


what is the use of JCL?

1210


What are the jcl procedures?

1170


How do you overcome this limitation ?

1251


Are there any set of rules for the names of the steps used in a job? What are they?

1117


Is it possible to define dd statements as you want?

1163


Is their any set of rules for dd? Explain.

1267