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 it possible to define dd statements as you want?
Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You
what happens in execution stage in job processing?
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file
which parameter is used to check the syntax of a jcl without executing it?
How does jcl act on code(if you take a cobol program)?
What is job control language?
Describe the various parameters utilized in the creation of a gdg?
what is the difference between JES3 and JES2?
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one
What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?
Name a few IBM utility programs, and explain its function.
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
What is the function of job statement in jcl?
is there any way to execute more than one proc in the same exec statement at the same time..?