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 |
what is force complete
What is the difference between primary and secondary allocations for a dataset?
When cursor is not closed what is the error?
How to identify in JCL that an input file is empty without reading it?
what is use of space parameter in dd statement?
We are using 2 files , file one has data, file two is empty.Using jcl how can we find the other file is empty?
What is the purpose of the dd keylen parameter?
How can u know the current date using jcl?
What is meant by S0C7 system abend code?
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.
Name the statement which can be used to send data to another mvs jes3 node?
How to submit a jcl from cics?