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...

how GDGs are concatinated?

Answer Posted / nygrande

If we use the base of the GDG only, all generations will be
concatenated.

If we want to use specific GDG generations, we can code as:

//FILEA DD DSN=NAME.OF.FILE(-5),DISP=SHR
// DD DSN=NAME.OF.FILE(-2),DISP=SHR
// DD DSN=NAME.OF.FILE(-1),DISP=SHR
// DD DSN=NAME.OF.FILE(0),DISP=SHR

or use the GDG complete DSN, as G0000V00. For example:

//FILEA DD DSN=NAME.OF.FILE.G0001V00,DISP=SHR
// DD DSN=NAME.OF.FILE.G0003V00,DISP=SHR
// DD DSN=NAME.OF.FILE.G0004V00,DISP=SHR
// DD DSN=NAME.OF.FILE.G0005V00,DISP=SHR

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about ISPF/TSO Commands

1861


Is condition checking possible in jcl?

1142


what is DD statement is used in JCL?

1121


When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?

1389


Is it possible to left uncode disp? If yes, how?

1124


How to run cobol program using jcl?

1151


What is the use of disp parameter?

1072


in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?

2641


Explain the purpose of the dd keylen parameter?

1097


how do you access an uncataloged dataset in a jcl?

1628


What is the purpose of disp parameter?

1050


what operation is performed by job statement?

1060


What happens if both JOBLIB & STEPLIB is specified ?

1067


What are the rules employed while naming the steps in a job?

1089


Can we call instream to catalog and catalog to instream?

1081