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
What do you understand by the terms: joblib and steplib?
Name the parameters which can be used to limit the number of records written to a sysout dataset?
I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?
Is it possible to left uncode disp?
How can values be passed from the job stream to an executable program?
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
Explain the hierarchy levels in jcl?
Is their any limit for data sets?
How is a type of file defined in the jcl that executes the cobol program?
what are the statements that are not valid to be included in an include statement?
Define concatenating?
What is the function of the dd avgrec keyword in sms datasets?
Explain the function of dd name parameter with a 2 part structure; audit.report?
Explain dd statement in jcl?
A dd statement consists of 4 fields. Name them?