Is it possible to take a PDS and write it to a GDG? If so,
can you provide an example? Thanx
Answer Posted / bjoern
//COPY EXEC PGM=IEBCOPY
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSIN DD DUMMY
//SYSUT1 DD DISP=OLD,DSN=PDS
//SYSUT2 DD DSN=PDS.GDG(+1),
// DCB=(RECFM=FB,LRECL=80),
// DISP=(NEW,CATLG,DELETE),
// SPACE=(TRK,(11,1,10),RLSE)
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What is the function of job statement in jcl?
what is the compile process of cobol program expalin with code
How gdg are concatenated?
Is it possible to code instream data in a PROC?
when does a dataset go uncataloged?
How do you overcome this limitation ?
what happens in execution stage in job processing?
Explain the function of dd disp parameter?
Are there any set of rules for the names of the steps used in a job?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
whats the diff bw the evaluate also and and?
What is one line to pass PARM from JCL to COBOL?
Is their any set of rules for dd? Explain.
How does the jcl specify the job to os?
what is DSN in JCL and what are the parameters to declare the DSN?