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 do you mean By spooling? Expand SPOOL?
Can we call instream to catalog and catalog to instream?
What is the purpose and meaning of the TIME keyword and what JCL statement is it associated with?
Which is the most widely used batch performance monitor for DB2?
restart logic ?
how to solve u4038 abbend?........
Name the statement which can be used to send data to another mvs jes3 node?
I have 15 flat files. each record in the files have the monthly salary for 12 months with the employee number. Now I want to concatenate the 15 files such that for the employee numbers that are common the o/p file should have only one record and the salaries should be concatenated to that record. How can we do it with JCL?
what are the technical terms for // /* in jcl
what is the restart?hopw it is invoked?
how do u see jobs submitted before ur job ?
Write a jcl to execute a job by 7 a.m on Jan 20,1986 ?