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

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

1442


Explain dfsort utility?

1321


How does jcl specify the job to the operating system?

1222


what is use of dsn parameter in dd statement?

1144


What are hierarchy levels in jcl?

1507


What is concatenating?

1059


What is the purpose of the dd keylen parameter?

1201


What is the function of dd name parameter with a 2 part structure; audit.report?

1213


how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?

1381


Explain the function of the dd dcb keyword?

1232


How to pass the parameter in parm using linkage section ? (syntax)?

1109


Explain the jcl exec statement?

1132


How does jcl act on a cobol code?

1168


Explain how can the attributes of one sms dataset be copied to another dataset?

1201


Explain dd statement in jcl?

1102