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 purpose of SYSOUT parameter in the DD statement?

1 Answers  


01 A. 10 B pic X(10). move spaces to A. move spaces to B. output in A & B

2 Answers   Perot Systems,


How to see the COMP3 value(packd decimal)

2 Answers   iGate,


What are steplib and joblib? What for they are used?

0 Answers  


In My job I have 15 procs.and in each proc i have 3 steps. i want to execute 3 step in proc 10.is it possible? if possible how?

2 Answers   HP,






how many max steps can we use in a job? pls answer to my question

9 Answers   TCS,


can a job be submitted through jcl only? is there another way to submit a job?

2 Answers   CSC,


What is the DD statement for a output file?

3 Answers  


I have a File that has duplicate records. I need only those records that occur more than thrice.

3 Answers  


Is CPU time (TIME parameter) assigned to a JOB and JOBSTEP BOTH, by default ?

6 Answers   IBM,


what is JCL?

0 Answers  


Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC

0 Answers  


Categories