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


Please Help Members By Posting Answers For Below Questions

How would you understand error(execution phase)?

624


In job processing, what happens in conversion stage?

739


Explain the hierarchy levels in jcl?

1118


How do you create a temporary dataset?

663


Explain how can a stopped job be started again?

636






What is catelog procedure and how many catelog procedure to use in one job?

7447


What is the difference between the positional and keyword parameters? Give examples.

708


what is the purpose of coding notify parameter in job statement?

683


How does jcl act on code(if you take a cobol program)?

707


How does jcl act on a cobol code?

657


what is the difference between JES3 and JES2?

679


what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?

655


What is the motivation behind coding class parameter in job statement?

686


how do you access an uncataloged dataset in a jcl?

839


what happens in execution stage in job processing?

652