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


Please Help Members By Posting Answers For Below Questions

Differentiate between addressing mode and run mode.

615


How can values be passed from the job stream to an executable program?

867


What is the function of the dd mgmtclas keyword in sms datasets?

730


How can a jobs execution priority be modified?

793


List the different jcl statements that are not permitted in the procedures?

636






what is the use of JCL?

660


How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?

1797


Is it possible to left uncode disp? If yes, how?

704


Must tape dataset definitions include vol=ser specifications?

971


What is the function of dd disp parameter?

654


What is catelog procedure and how many catelog procedure to use in one job?

7437


The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?

940


What is the purpose of disp parameter?

635


Name a few IBM utility programs, and explain its function.

4432


I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.

1947