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 |
Why include statement is used in a jcl?
How do you override a parameter in Positional parameters?
What is a MODEL Paramater in GDG ?
proc1,proc2,up to proc5 is there if i want to call proc1 and proc5how can u write the code
We have two PS files,want to compare those files and put the duplicate records in one file. Input file 1 contains(1,2,4,9,10) Input file 2 contains (1,4,5,11,12,14,16). Help me with jcl.
Are there any set of rules for the names of the steps used in a job? What are they?
I have an job having three job steps.Suppose i want to call a pgm in step2 and aproc in step3.How to write the code?
is step name is compulsory in jcl ?
Explain about LMCLOSE�close a data set
What will happen when we try to pass data from JCL to COBOL using PARM parameter without declaring the length field in Linkage Section?
what is meant by jobtrac?
Is their any limit for data sets?