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

A dd statement consists of 4 fields. Name them?

1379


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

1219


Explain the function of //jcllib statement?

1168


What do you know about jcl?

1097


Give the syntax of job specifying jcl statement.

1090


Explain how can an in-stream dataset be terminated?

1267


How gdg are concatenated?

1076


Is it possible to code instream data in a PROC?

1271


what is the purpose of coding notify parameter in job statement?

1118


Explain the function of dd disp parameter?

1057


which utility is used to run a cobol-db2 program?

1319


Is it possible to define dd statements as you want?

1076


what are the various stages of job processing?

1243


Name the statement which can be used to send data to another mvs jes3 node?

1131


I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?

1794