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
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
what is use of dsn parameter in dd statement?
What happens if both JOBLIB & STEPLIB is specified ?
Explain the jcl exec statement?
Why block size is multiple of lrecl in jcl?
What do you understand by the term notcat 2 – gs?
List the various advantages of using jcl language?
how to run batch program without jcl?
How gdg are concatenated?
How does jcl act on code(if you take a cobol program)?
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.
What is use of restart and how to use it?
Explain how can a stopped job be started again?
Explain the purpose of dd * statement in jcl?
Explain how can the disposition of sysout datasets be set for an entire jobstream?