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
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
How can unused space allocation be returned to the system when a dataset is closed?
How to execute 2nd and 4th steps among 5 steps in jcl proc?
What dd statement is used to supply the name of a dataset?
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 are some jcl statements that are not allowed in procedures?
What are the 2 types of parameters in dd statement?
What is the format of comment statement?
Can we call instream to catalog and catalog to instream?
What is the function of a dd statement?
What is the function of dd name parameter with a 2 part structure; audit.report?
Explain the hierarchy levels in jcl?
Explain about ISPF/TSO Commands
How to override loadlib?
List the different jcl statements that are not permitted in the procedures?