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 |
IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C
What is the difference between specifying DISP=OLD and DISP=SHR for a dataset?
what is the sortcard for comparing two files with a field key and get the duplicates in onefile and noduplicates in another file
can we give instream data in procedure
how to allocate a dynamic dataset in jcl ?
There is one QSAM is the VB file. i want to get the first characters in this file and change those characters from'abcd' to '1234' and creat a vasm file to put '1234' in it. how to do in only JCL. if it not QSAM, it's VASM and VB. how to do it.
How do you check the syntax of a JCL without running it?
We have an output dataset in job with disp parameter as SHR. Can we write data in that file dataset?
how can handle the s0c4 abend???
We are using 2 files , file one has data, file two is empty.Using jcl how can we find the other file is empty?
What is the parameter to be passed in the job card for the unlimited time , irrespective of the job class ?
wht r s722,s822,s122 and s222 abends pls reply fast