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 / mr. cooooool
Hi...........
We can do it as following.
//COOLJCL JOB NOTIFY=&SYSUID
//STEP1 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=COOL.TOP.PS1,DISP=SHR
// DD DSN=COOL.TOP.PS2,DISP=SHR
// DD DSN=COOL.TOP.PS3,DISP=SHR
// DD DSN=COOL.TOP.PS4,DISP=SHR
//* DD DSN=COOL.TOP.PS5,DISP=SHR
//* DD DSN=COOL.TOP.PS6,DISP=SHR
// DD DSN=COOL.TOP.PS7,DISP=SHR
// DD DSN=COOL.TOP.PS8,DISP=SHR
// DD DSN=COOL.TOP.PS9,DISP=SHR
// DD DSN=COOL.TOP.PS10,DISP=SHR
//SYSUT2 DD DSN=COOL.TOP.OUTPUT,DISP=SHR
//SYSIN DD DUMMY
We can give comments for 6th and 7th dd statement
through which we can concatenate the remaining files
except 5,6 file into the output file.
I know there is also some other logic
except this.
if anybody know than tell me.
thanks.
| Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
when can a job time-out occur? How to overcome that?
Explain the function of the steplib dd statement?
Is automatic restart possible in jcl?
what is the purpose of coding notify parameter in job statement?
Explain about LMFREE�free data set from its association with data ID
what is the use of JCL?
how can the same proc be re-used and called by many jobs?
List the various advantages of using jcl language?
Explain about ISPF/TSO Commands
How jcl work to handle various input output file operations?
In job processing, what happens in execution stage?
What is the function of the dd mgmtclas keyword in sms datasets?
Explain how can return codes be tested before execution of a job step?
How can a fb file convert to vb file using sort program?
What is the purpose of the dd keylen parameter?