When concatenating two PDS can any one PDS can have empty
dataset i.e without any value(Dummy).
Answers were Sorted based on User's Feedback
Answer / 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 |
what are JCLLIB and STEPLIB in JCL?
if my GDG limit has been kept as 50 and if am trying to put 60 records.what would happen. will there be any abend for this scenario
once we submitted the job to the operating system, how can we cancel the job before execution?
Do we need to code DCB parameters when using DISP position as MOD?
how to have variable length record in outrec..i have the requmt as follows.. i/p file variable lenght record output file : i need to alter the input and write into outrec(another file) sort fields: copy from(dd1) using ctl1 ctl1cntl dd * outfil fnames=xxx, outrec=(1,131) here i outrec is bombing with error..how to overcome this defect...???
what is the difference between perform varying and perform
how you can access an uncataloged dataset in a JCL?
There are 2 steps in a JCL. If the first step abends due to system or user abend and the second step has COND specified as EVEN or ONLY, will this step still be executed inspite of the abend in the previous step?
GDG Create syntax ?
Can a PROC CALL another PROC ? (in both Instream and Cataloged cases) ?
FOR a GDG, the book by 'SABA ZAMEER' says 'We can NOT ALTER the LIMIT parameter after it is defined'. (p-211). But many persons have written that it can be changed, which one is true ?
what is inrec fields and outrec fields in sorting