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
Is there any command to check wether the ps file is in sorted order?
What do you know about jcl?
what is DD statement is used in JCL?
List the different components of jcl statement?
what is the difference between JES3 and JES2?
What is the significance of addrspc parameter in the exec statement?
what is the purpose of coding class parameter in job statement?
a dd statement has 2 types of parameters. Name them?
Explain the purpose of dd dummy statement?
How gdg are concatenated?
What is concatenating?
How to run cobol program using jcl?
Name a few IBM utility programs, and explain its function.
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
how you will the direct the data to spool using sysout option?