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

What is the purpose of dd dummy statement?

1403


I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?

1313


What is the function of job statement in jcl?

1034


What are the parameter we cannot use in procedure?

1056


Mention the types of job control statements?

1124


What do you understand by the term job time – out and how can you overcome that?

968


how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?

1229


What is jcl in mainframe?

1140


What is concatenating?

1031


In sms datasets, what is the function of the dd mgmtclas keyword?

1340


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

1138


what sort card you will use to copy the data from one dataset to another dataset?

1139


Explain the function of the dd dcb keyword?

1182


Give the syntax of job specifying jcl statement.

1085


how you can direct the data to spool using SYSOUT option?

1409