ihave ten flatfile in that iwant to concatinate all the
files except file 5,6 into output file by uing jcl?
how to do this? give me detail yntax for tis?
Answer Posted / rajamohan reddy
If your conactenating files in a proc. we can use the
following JCL
//INST PROC
//STEP1 EXEC PGM=IEBGENER
//SYSUT1 DD DISP=SHR,DSN=DATASET1
// DD DISP=SHR,DSN=DATASET2
// DD DISP=SHR,DSN=DATASET3
// DD DISP=SHR,DSN=DATASET4
// DD DISP=SHR,DSN=DATASET5
// DD DISP=SHR,DSN=DATASET6
// DD DISP=SHR,DSN=DATASET7
// DD DISP=SHR,DSN=DATASET8
// DD DISP=SHR,DSN=DATASET9
// DD DISP=SHR,DSN=DATASET10
//SYSUT2 DD SYSOUT=*
//INST PEND
//*
//STEP2 EXEC INST
//SYSPRINT DD SYSOUT=*
//STEP1.SYSUT1 DD DISP=SHR,DSN=DATASET1
// DD DISP=SHR,DSN=DATASET2
// DD DISP=SHR,DSN=DATASET3
// DD DISP=SHR,DSN=DATASET4
// DD
// DD
// DD DISP=SHR,DSN=DATASET7
// DD DISP=SHR,DSN=DATASET8
// DD DISP=SHR,DSN=DATASET9
// DD DISP=SHR,DSN=DATASET10
//SYSIN DD DUMMY
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Explain dfsort utility?
when can a job time-out occur? How to overcome that?
When space is allocated for an output dataset, what units can be used?
What is the function of the dd mgmtclas keyword in sms datasets?
What is jcl in mainframe?
write a jcl to execute a job by 7:00 am on jan 20,1986?
Explain the jcl exec statement?
In job processing, what happens in conversion stage?
Explain how can a jobs execution priority be modified?
What is the function of the steplib dd statement?
what is use of dsn parameter in dd statement?
what is a jcl?
Why include statement is used in a jcl?
what are the types of abends that occur on job failure? And explain the possible causes of these
What parameter of the job statement is used to limit the cpu time consumed by the job?