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 do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
What is the function of a dd statement?
Can I share my data with other jobs? How?
what is the use of JCL?
What is the format of comment statement?
what operation is performed by job statement?
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
Suppose I have five jobs to do. But I want to hold one?
what are the types of abends that occur on job failure? And explain the possible causes of these
I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?
how would you create a temporary dataset? And where will you use them?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
How can a fb file convert to vb file using sort program?