How to copy one PS file to multiple PS files with same data?



How to copy one PS file to multiple PS files with same data? ..

Answer / 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

More JCL Interview Questions

What is the error in the following JCL statements : I) //step#three exec pgm=hkbc762 ii) //step#3 exec pgm = hkbc762 iii) //step#3 exec pgr = hkbc672

6 Answers  


can u execute a proc from another proc?

5 Answers   Logica CMG,


wt will happen to the step of a job if u code COND=ONLY

5 Answers   ADP,


can we copy a file from fixed block to variable block and vice versa ....asap

1 Answers  


How do you submit a JCL under CICS environment ?

1 Answers   IBM,






Explain the function of dd disp parameter?

0 Answers  


I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?

0 Answers  


Describe the various parameters utilized in the creation of a gdg?

0 Answers  


I have 2 steps in my exec statement , in first step I am creating a gdg, and the output of this step is going into second step as a input, and this second step is abended , now how could i approach in this case.

5 Answers   Bank Of America,


Can we use two or more SYSPUNCH DD statements in a JCL for multiple unload (SYSREC00 & SYSREC01)..?

1 Answers  


how are instream data terminated?

3 Answers   Tech Mahindra,


What is 'S0C7' abend?

9 Answers  


Categories