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 |
Explain the function of the steplib dd statement?
How to Enter The Spool Area In Real Time?
What is the function of the dd mgmtclas keyword in sms datasets?
in job stmt i coded time=(2,30) and in step 1 i coded time=(1,30) and in step i coded time=(1,30), whch one executes first and what happens if step1 and step2 time executes and wht about the remaining time if step and step2 executes
how to concatenate datasets
Can we use two or more SYSPUNCH DD statements in a JCL for multiple unload (SYSREC00 & SYSREC01)..?
Name the system library from which modules are retrieved at execution
There are a set of 10 files and a customer will be selecting random no of files(i.e they may be more than 2, may not be in the order).Sometimes he might just select one file or sometimes no files at all.How do you code a JCL for this? Is it possible to code just JCL alone for this problem?
describe the exec statement,its meaning ,syntax and keywords?
what are JCLLIB and STEPLIB in JCL?
Can I send output of job to my remote device careerride123?
Give the syntax of job specifying jcl statement.