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

Does jcl support automatic restart?

1195


Explain about LMQUERY�give a dialog information about a data set

1403


Why block size is multiple of lrecl in jcl?

1367


how JCL works?

1222


What are steplib and joblib? What for they are used?

1159


Explain how can return codes be tested before execution of a job step?

1297


what EXEC statement is and what is the syntax of EXEC statement used in JCL?

1130


When output dataset space is required, what quantity categories are used?

1320


When space is allocated for an output dataset, what units can be used?

1223


What parameter of the job statement is used to limit the cpu time consumed by the job?

1241


Brief description of inline procedure of jcl.

1198


When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?

1198


Is it possible to left uncode disp?

1161


I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one

2402


what is JCL?

1122