Is it possible to take a PDS and write it to a GDG? If so,
can you provide an example? Thanx
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / 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 |
Answer / mdvasanth86
No doubt, it will work.
A GDG is similar to a PS in most ways we use it.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sanjeev
it is not possible to take pds to write into gdg because
gdg contains only sds files.
| Is This Answer Correct ? | 1 Yes | 4 No |
Explain the purpose of dd * statement in jcl?
Can we use DISP=SHR in output file in JCL
How do you create a temporary dataset? Where will you use them?
wht r s722,s822,s122 and s222 abends pls reply fast
Please explain with syntax and an example, the Inrec fields and Outrec build in sort.
When cursor is not closed what is the error?
Can we delete the data using IEFBR14 , IEBGENER??
What is TimeStamp, What is TimeStamp error and What is the Abend Code for TimeStamp Error ?
What is the function of //jcllib statement?
If i have defined an temperory dataset in step2, how can i call back or use the same dataset in step5 of the same job
i want apply mainframe devolper with 3+ but i dont have that much of knowledge what isthe solution to get that much of knoweldge?
//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*