A STEP has more than 1 file as INPUT. And we have to put all these records int 1 output file. How to do ?
//InputF DD DSN=ID.File1
DSN=ID.File2
DSN=ID.File3
Answer Posted / vipul chougule
Concartinate input data sets
SYSIN DD DSN = file1
DSN = file2
DSN = file3
| Is This Answer Correct ? | 15 Yes | 1 No |
Post New Answer View All Answers
What are s0c1, s0c4, s0c5, s0c7 and socb?
what is the JCL statement consists of?
What are some jcl statements that are not allowed in procedures?
what is the use of IEBGENER utility?
Explain how can a stopped job be started again?
What statement can be used to send data to another mvs jes3 node?
//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*
how you will the direct the data to spool using sysout option?
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
What are the utility programs in jcl?
Can we call instream to catalog and catalog to instream?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
Differentiate between the joblib and the steplib statements?
What is jcl in mainframe, and how many types of jcl statements are there for a job?
how do you access an uncataloged dataset in a jcl?