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


can u explain gdg with example wht happens if we give limit,empty,noempty,scartch and no scartch



can u explain gdg with example wht happens if we give limit,empty,noempty,scartch and no scartch..

Answer / prabudha jain

The GDG syntax is
//SYSIN DD *
DEFINE GDG(NAME (MYLIB.LIB.TEST) -
LIMIT (10) -
NOEMPTY -
SCRATCH)
/*
LIMIT -This parameter is used to specify the total number
of generations that the GDG may contain.

EMPTY -Specifies tht all existing generations of the GDG
are to be uncataloged whenever the generations of GDG
reached the maximum limit.

NOEMPTY -Specifies that only the oldest generation of the
GDG is to be uncataloged if the limit is reached.

SCRATCH -Specifies that whenever entry of the GDG is
removed from the index, it should be deleted physically and
uncataloged.

NOSCRATCH-Specifies that whenever entry of the GDG is
removed from the index, it should not be physically deleted
and uncataloged.

Note:SCRATCH and NOEMPTY are the default parameters.

Is This Answer Correct ?    26 Yes 1 No

Post New Answer

More JCL Interview Questions

if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?

0 Answers   IBM,


How to rename a VSAM file as well as it's index file?

4 Answers   CitiGroup,


What is COND=ONLY ?

2 Answers  


How to overide the symbol parameter in the jcl ?

3 Answers   UST,


Differentiate between the joblib and the steplib statements?

0 Answers  


What is the error/SOC code if dd names are not sysut1 and sysut2 in IEBGENER?

1 Answers   CTS,


Can we able insert data into a PS file Using IEBUPDTE utility??? If Yes can anyone describe it please..

1 Answers  


how to see the latest generation in gdg?

3 Answers   Deloitte,


What are three parameters you can specify on Job statement as well as on exec stmt ?

1 Answers  


wht r s722,s822,s122 and s222 abends pls reply fast

1 Answers   Wipro,


how JCL works?

0 Answers  


mainframe questions like basic&depth

0 Answers   TetraSoft,


Categories