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
How can return codes be tested before execution of a job step?
What are the difference between jcl and jes?
what are JCLLIB and STEPLIB in JCL?
how can the same proc be re-used and called by many jobs?
Is automatic restart possible in jcl? If yes, how?
if the submitter of a job wants to inform another user about the job completion, how can it be done?
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC
which utility is used to sort a file in jcl?
Define concatenating?
Explain how can a jobs execution priority be modified?
Explain dfsort utility?
What is the function of the dd avgrec keyword in sms datasets?
how JCL works?
Why include statement is used in a jcl?
What are the parameters that are used in creating a gdg?