When concatenating two PDS can any one PDS can have empty
dataset i.e without any value(Dummy).
Answer Posted / suman kotha
If you put second file as DUMMY, JOB will execute
successfully.
//SORTIN DD DSN=xx70.YYY..JUN25,
// DISP=SHR
//SORTOF1 DD DSN=Z800.FILE2,
// DISP=(NEW,CATLG,DELETE)
//SORTOF2 DD DUMMY
//SYSIN DD *
SORT FIELDS=COPY
OUTFIL FILES=1
OUTFIL FILES=2
//*
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Differentiate between addressing mode and run mode.
How can values be passed from the job stream to an executable program?
What is the function of the dd mgmtclas keyword in sms datasets?
How can a jobs execution priority be modified?
List the different jcl statements that are not permitted in the procedures?
what is the use of JCL?
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
Is it possible to left uncode disp? If yes, how?
Must tape dataset definitions include vol=ser specifications?
What is the function of dd disp parameter?
What is catelog procedure and how many catelog procedure to use in one job?
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?
What is the purpose of disp parameter?
Name a few IBM utility programs, and explain its function.
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.