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
What happens if both JOBLIB & STEPLIB is specified ?
How can a stopped job be started again?
What is the function of //jcllib statement?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
Why include statement is used in a jcl?
which parameter is used to check the syntax of a jcl without executing it?
Define concatenating?
Explain about LMFREE�free data set from its association with data ID
Is their any set of rules for dd? Explain.
Can an individual step be restricted from using all the jobs allowed cpu time?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
What are steplib and joblib? What for they are used?
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
what is the use of IEBGENER utility?
define cond parameter in jcl?