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 would you understand error(execution phase)?
In job processing, what happens in conversion stage?
Explain the hierarchy levels in jcl?
How do you create a temporary dataset?
Explain how can a stopped job be started again?
What is catelog procedure and how many catelog procedure to use in one job?
What is the difference between the positional and keyword parameters? Give examples.
what is the purpose of coding notify parameter in job statement?
How does jcl act on code(if you take a cobol program)?
How does jcl act on a cobol code?
what is the difference between JES3 and JES2?
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
What is the motivation behind coding class parameter in job statement?
how do you access an uncataloged dataset in a jcl?
what happens in execution stage in job processing?