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 / user

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

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the 2 types of parameters in dd statement?

661


How to submit a jcl from cics?

670


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

643


How can an in-stream dataset be terminated?

856


Explain the function of dd disp parameter?

607






What is the function of dd disp parameter?

665


a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?

626


what is the difference between JES3 and JES2?

693


Is condition checking possible in jcl?

729


What is the function of job statement in jcl?

644


A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?

743


What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?

1817


What do you understand by jcl?

634


What is the function of the dd mgmtclas keyword in sms datasets?

746


What is the significance of addrspc parameter in exec statement?

737