How to copy one PS file to multiple PS files with same data?
Answer Posted / 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 |
Post New Answer View All Answers
how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?
Can I send output of job to my remote device careerride123?
Which statement is used to identify the private libraries in job?
In sms datasets, what is the function of the dd mgmtclas keyword?
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
what is SOC4 error?
what are the various stages of job processing?
Can we call instream to catalog and catalog to instream?
What are the rules employed while naming the steps in a job?
What is jcl in mainframe?
What is timing concept in mainframe?
What is the format of comment statement?
when does a dataset go uncataloged?
How can a stopped job be started again?
what is DSN in JCL and what are the parameters to declare the DSN?