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
Explain how can the submitting users racf authority be overridden in a job stream?
How jcl work to handle various input output file operations?
What are the difference between jcl and jes?
What are the rules employed while naming the steps in a job?
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?
If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?
what is SOC4 error?
List the different jcl statements that are not permitted in the procedures?
how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?
What is catelog procedure and how many catelog procedure to use in one job?
How can a fb file convert to vb file using sort program?
what is use of dsn parameter in dd statement?
if the submitter of a job wants to inform another user about the job completion, how can it be done?
Where & How Do You Code Identifier In Jcl?
What is the purpose of dd * statement in jcl?