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 is the purpose of dd * statement in jcl?
Are there any set of rules for the names of the steps used in a job?
what is DSN in JCL and what are the parameters to declare the DSN?
Which dd parameters are required?
How jcl work to handle various input output file operations?
write a jcl to execute a job by 7:00 am on jan 20,1986?
Explain the function of a dd statement?
What is one line to pass PARM from JCL to COBOL?
What is the purpose of dd dummy statement?
List in order the hierarchical levels of jcl?
How is the record format of an output dataset specified?
What is the function of //jcllib statement?
can any one plzzzzzz tell the jcl code for creating ps using idcams
what are JCLLIB and STEPLIB in JCL?
How can the disposition of sysout datasets be set for an entire jobstream?