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

Why include statement is used in a jcl?

0 Answers  


How do you override a parameter in Positional parameters?

4 Answers   Thomson Reuters,


What is a MODEL Paramater in GDG ?

2 Answers   Xansa,


proc1,proc2,up to proc5 is there if i want to call proc1 and proc5how can u write the code

2 Answers  


We have two PS files,want to compare those files and put the duplicate records in one file. Input file 1 contains(1,2,4,9,10) Input file 2 contains (1,4,5,11,12,14,16). Help me with jcl.

6 Answers  






Are there any set of rules for the names of the steps used in a job? What are they?

0 Answers  


I have an job having three job steps.Suppose i want to call a pgm in step2 and aproc in step3.How to write the code?

2 Answers   IBM,


is step name is compulsory in jcl ?

2 Answers  


Explain about LMCLOSE�close a data set

1 Answers  


What will happen when we try to pass data from JCL to COBOL using PARM parameter without declaring the length field in Linkage Section?

2 Answers   IBM,


what is meant by jobtrac?

4 Answers   CSC,


Is their any limit for data sets?

0 Answers  


Categories