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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we call instream to catalog and catalog to instream?

1145


Differentiate between the joblib and the steplib statements?

1439


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

1193


Are there any set of rules for the names of the steps used in a job?

1136


what is use of dcb parameter in dd statement?

1306


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

1452


How can a jobs execution priority be modified?

1294


What is the purpose of the dd keylen parameter?

1223


what is the compile process of cobol program expalin with code

2587


what happens in execution stage in job processing?

1145


what are the types of abends that occur on job failure? And explain the possible causes of these

1624


What methodology can be adapted to transfer data to a program that is coded using the exec statement?

1223


How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?

1162


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

1456


what are JCLLIB and STEPLIB in JCL?

1176