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 NOTCAT 2
when does a dataset go uncataloged?
What is the function of //jcllib statement?
What is catelog procedure and how many catelog procedure to use in one job?
//ERFDS JOB //STEP1 //STEP2 //STEP3...COND=(4,LT) //STEP4 1.CONDITION IN STEP3 REFERS TO WHICH STEP'S RETURN CODE (STEP1 OR STEP2)? 2.IN ABOVE PROGRAM IF CONDITION SATISFIES IN STEP3 WHICH STEPS WILL EXECUTE?? AND WHY? IF CONDITION IN STEP3 SATISFIES
wht do u mean by internal reader in jcl ? wht is the use of internal reader ?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
how will be submit 1 jcl by other jcl? means that how 'll submit one job by other job??
What is the purpose and meaning of the REGION keyword and what JCL statement is it associated with?
What is the difference between static call & Dynamic call ?
How many types we can give input to JCL