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


Please Help Members By Posting Answers For Below Questions

How can return codes be tested before execution of a job step?

920


What are the difference between jcl and jes?

1050


what are JCLLIB and STEPLIB in JCL?

675


how can the same proc be re-used and called by many jobs?

909


Is automatic restart possible in jcl? If yes, how?

655






if the submitter of a job wants to inform another user about the job completion, how can it be done?

754


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

676


which utility is used to sort a file in jcl?

747


Define concatenating?

666


Explain how can a jobs execution priority be modified?

740


Explain dfsort utility?

671


What is the function of the dd avgrec keyword in sms datasets?

839


how JCL works?

796


Why include statement is used in a jcl?

689


What are the parameters that are used in creating a gdg?

739