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
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
What is the significance of addrspc parameter in the exec statement?
what is DSN parameter and DISP parameter is used for?
How do you overcome this limitation ?
Is there any command to check wether the ps file is in sorted order?
what is the JCL statement consists of?
can any one plzzzzzz tell the jcl code for creating ps using idcams
Explain the purpose of dd dummy statement?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
Is it possible to left uncode disp?
Define concatenating?
What is NOTCAT ?
How gdg are concatenated?
Where can program checkpoints be stored for use in a restart?
Can we use DISP=SHR in output file in JCL