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
What does a disposition of (new,catlg,keep) for a dsn mean?
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?
Brief description of inline procedure of jcl.
In job processing, what happens in execution stage?
Differentiate between the joblib and the steplib statements?
Is it possible to left uncode disp? If yes, how?
when can a job time-out occur? How to overcome that?
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY
what is use of space parameter in dd statement?
Explain how can values be passed from the job stream to an executable program?
How is a type of file defined in the jcl that executes the cobol program?
what is DSN parameter and DISP parameter is used for?
What is the function of //cntl statement?
Is automatic restart possible in jcl? If yes, how?
what is the difference between JES3 and JES2?