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 do you mean By spooling? Expand SPOOL?

4 Answers  


Can we call instream to catalog and catalog to instream?

0 Answers  


What is the purpose and meaning of the TIME keyword and what JCL statement is it associated with?

1 Answers  


Which is the most widely used batch performance monitor for DB2?

2 Answers  


restart logic ?

2 Answers   TCS,






how to solve u4038 abbend?........

3 Answers   Atos Origin, TCS,


Name the statement which can be used to send data to another mvs jes3 node?

0 Answers  


I have 15 flat files. each record in the files have the monthly salary for 12 months with the employee number. Now I want to concatenate the 15 files such that for the employee numbers that are common the o/p file should have only one record and the salaries should be concatenated to that record. How can we do it with JCL?

1 Answers  


what are the technical terms for // /* in jcl

3 Answers   Cap Gemini,


what is the restart?hopw it is invoked?

1 Answers  


how do u see jobs submitted before ur job ?

1 Answers  


Write a jcl to execute a job by 7 a.m on Jan 20,1986 ?

5 Answers   Maples, Patni, TCS,


Categories