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
Explain how can the submitting users racf authority be overridden in a job stream?
Explain how can the disposition of sysout datasets be set for an entire jobstream?
Suppose I have five jobs to do. But I want to hold one?
What is Cataloged Procedures?
Does jcl support automatic restart?
what is “Cond= even” and “Cond=only”?
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
State the uses of syspring, sysin, sort fields, sum fields and dummy.
What is the function of the dd dcb keyword?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You
What is the use of disp parameter?
How to alter the parameters for the existing gdg?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?