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
what is SOC4 error?
What is the purpose of the dd keylen parameter?
What is use of restart and how to use it?
write a jcl to execute a job by 7:00 am on jan 20,1986?
Is condition checking possible in jcl?
how you can direct the data to spool using SYSOUT option?
How can the attributes of one sms dataset be copied to another dataset?
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
What are the difference between jcl and jes?
Explain dfsort utility?
I need exexution process for JCL programs
what are the various stages of job processing?
What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?
what is the use of JCL?
WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move