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 is the JCL statement consists of?
Is it possible to left uncode disp?
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?
What is jcl in mainframe, and how many types of jcl statements are there for a job?
why do we use file-aid wht r the adv of using file-aid thn in ispf
how many max steps can we use in a job? pls answer to my question
what is a null indicator in db2?
What is DSNDB06 ?
with out sorting how to copy records from one file to another file using jcl.Mean I have one input file in which the record are like 1,6,5,4,2,3(for example) and i want to copy to output file from top to bottom(without sorting) like 3,2,4,5,6,1.so I want the JCL for this.cna any one can answers?
What is the purpose and meaning of the TIME keyword and what JCL statement is it associated with?
Explain dfsort utility?
My JCL has 4 steps that execute PROC’s P1, P2, P3 and P4 as shown below //P1 EXEC PROC=P1 //P2 EXEC PROC=P2 //P3 EXEC PROC=P3 //P4 EXEC PROC=P4 There are four steps S1, S2, S3 and S4 in each PROC’s (i.e. P1, P2, P3 and P4) I want to execute only step S2 of PROC P2 and no other steps or PROC’s. How do you achieve this?