Is it possible to take a PDS and write it to a GDG? If so,
can you provide an example? Thanx
Answer Posted / vj
Yes, it is possible to write a pds to gdg.. i tried the
below jcl and it worked out....
//JS001 EXEC PGM=IEBGENER
//*
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
//SYSUT1 DD DSN=TTTTT.NNNN.OOOO(PPPP),DISP=SHR
//SYSUT2 DD DSN=AAAA.BBB.GDG(+1),
// DISP=(NEW,CATLG,DELETE),
// MGMTCLAS=MC0044,
// VOL=(,,,10),
// SPACE=(10796,(5,3),RLSE),
// DCB=(RECFM=FB,LRECL=80,
// DSORG=PS,BLKSIZE=0,BUFNO=30)
//*
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
In job processing, what happens in conversion stage?
State the uses of syspring, sysin, sort fields, sum fields and dummy.
How would you understand error(execution phase)?
what is a jcl?
in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?
What is the purpose of the dd keylen parameter?
what is use of dcb parameter in dd statement?
How can the submitting users racf authority be overridden in a job stream?
what is the purpose of coding notify parameter in job statement?
How is a type of file defined in the jcl that executes the cobol program?
Explain in DD statement what is the use of DCB parameter?
How dummy is used in jcl?
How do you access an uncatalogued dataset in a jcl?
Why include statement is used in a jcl?