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 gdg are concatenated?
how to do automated restart when a job abends?
Explain how can a jobs execution priority be modified?
How jcl is used for testing batch programs?
Name a few IBM utility programs, and explain its function.
what is “Cond= even” and “Cond=only”?
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
Suppose I have five jobs to do. But I want to hold one?
what is JCL?
In sms datasets, what is the function of the dd avgrec keyword?
What is job control language?
which utility is used a dummy utility?
Brief description of inline procedure of jcl.
Differentiate between the joblib and the steplib statements?
What are the jcl procedures?