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
What are the 4 fields in dd statement?
What is the purpose of dd * statement in jcl?
what is “Cond= even” and “Cond=only”?
what happens in conversion stage in job processing?
Suppose I have five jobs to do. But I want to hold one?
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
What is the significance of addrspc parameter in the exec statement?
What is the motivation behind coding class parameter in job statement?
what is use of space parameter in dd statement?
In sms datasets, what is the function of the dd mgmtclas keyword?
Differentiate between addressing mode and run mode.
How to override loadlib?
How do you access an uncatalogued dataset in a jcl?
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
Explain how can a stopped job be started again?