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


Please Help Members By Posting Answers For Below Questions

Is there any command to check wether the ps file is in sorted order?

2428


What do you know about jcl?

645


what is DD statement is used in JCL?

679


List the different components of jcl statement?

687


what is the difference between JES3 and JES2?

676






What is the significance of addrspc parameter in the exec statement?

616


what is the purpose of coding class parameter in job statement?

713


a dd statement has 2 types of parameters. Name them?

643


Explain the purpose of dd dummy statement?

667


How gdg are concatenated?

668


What is concatenating?

633


How to run cobol program using jcl?

648


Name a few IBM utility programs, and explain its function.

4432


Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?

668


how you will the direct the data to spool using sysout option?

1758