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

i have a base gdg consisting of 12 versions like jan to dec. i
need to concatante this gdg to another gdg which have version 1
or to the base gdg itself can anyone give me the code pls ?

Answer Posted / sha

Assume, old gdg base is FINANCES.MONTHLY and new gdg base
is FINANCES.MONTHLY.NEW

The code to concatenate the old gdg 12 versions is

//STEP1 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSUT1 DD DSN=FINANCES.MONTHLY,DISP=SHR
//SYSUT2 DD DSN=FINANCES.MONTHLY.NEW(+1),
// DISP=(,CATLG,DELETE),UNIT=DISK,
// SPACE=(CYL,(20,20),RLSE),
// DCB=*.SYSUT1

Please correct me if I'm wrong...

Is This Answer Correct ?    10 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which statement is used to identify the private libraries in job?

1171


How can the disposition of sysout datasets be set for an entire jobstream?

1314


which utility is used to sort a file in jcl?

1203


Give the syntax of job specifying jcl statement.

1122


Explain the function of a dd statement?

1187


What is condition checking in jcl? Is this possible?

1102


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

1202


Is their any limit for data sets?

1170


in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?

2685


Explain how can values be passed from the job stream to an executable program?

1198


What is the difference between the positional and keyword parameters? Give examples.

1236


What are the 4 fields in dd statement?

1235


what is “Cond= even” and “Cond=only”?

1291


how JCL works?

1242


what is the use of IEBGENER utility?

1152