How to copy one PS file to multiple PS files with same data?
Answer / ganesamoorthy
//JOB CARD
//STEP1 EXEC PGM=ICETOOL
//TOOLMSG DD SYSOUT=*
//DFSMSG DD SYSOUT=*
//IN1 DD DSN=D362967.TEST.PS1,DISP=SHR
//OUT1 DD DSN=D362967.TEST.PS2,DISP=SHR
//OUT2 DD DSN=D362967.TEST.PS3,DISP=SHR
//TOOLIN DD *
COPY FROM(IN1) TO(OUT1,OUT2)
/*
This will copy datas from one PS file to multiple PS files.
| Is This Answer Correct ? | 13 Yes | 2 No |
What is a PROC? What is the difference between an instream and a catalogued PROC?
how to resolve sb37,sd37 se37 abends
What is the parameter to be passed in the job card for the unlimited time , irrespective of the job class ?
how to solve u4038 abbend?........
what are the various stages of job processing?
01 A. 10 B pic X(10). move spaces to A. move spaces to B. output in A & B
How can a jobs execution priority be modified?
What is the difference between a PDS member and a GDG Generation ? Is it only this, that with a generation we can use +1, 0, -1 etc while with PDS member we can not ?
What is COND=ONLY ?
Suppose there are 10 steps in a PROC, I want to execute only step5. How do you give the condition in the JCL that calls this PROC?
How jcl is used for testing batch programs?
What is DSNDB06 ?