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 |
how to resolve soc-7 ? please tell me
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
Which is the most widely used batch performance monitor for DB2?
which parameter is used to check the syntax of a jcl without executing it?
I need to compare two VSAm files. In input VSAM file some fields are updating and the updated feilds are coming into the output file. now i need to compare these two files with respect to a perticular field. Please suggest a suitable JCL code me.
How is a new GDG coded?
I have two input files i/p1 name id-key flag date i/p 2 name id-key date if id-key matches in the both the files then it should write the output file from i/p1 with flag 'Y'. It should be done thru JCL sort card ,Please provide the info on this. ---Note : output file should have all records from i/p1 with proper Flag.
How does jcl specify the job to the operating system?
what is the Difference between SYSIN and PARM ?
how can we pass parameters from JCL to cobol subprogram...my requirement is i should not get data from mainprogram but i need it from JCL directly
how many types of sorts are there in jcl?
How to submit a jcl from cics?