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
Must tape dataset definitions include vol=ser specifications?
What is the purpose of dd * statement in jcl?
What is the function of //jcllib statement?
Is there any command to check wether the ps file is in sorted order?
How is a type of file defined in the jcl that executes the cobol program?
Explain about LMQUERY�give a dialog information about a data set
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u
what is a jcl?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
how you can direct the data to spool using SYSOUT option?
when does a dataset go uncataloged?
List the different jcl statements that are not permitted in the procedures?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
What are s0c1, s0c4, s0c5, s0c7 and socb?