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
What is the use of disp parameter?
what is use of disp parameter in dd statement?
How does the jcl specify the job to os?
How can a fb file convert to vb file using sort program?
what is the purpose of coding class parameter in job statement?
What is the use of symbol // in jcl?
What is the difference between the positional and keyword parameters? Give examples.
which utility is used a dummy utility?
how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?
What are some jcl statements that are not allowed in procedures?
Is condition checking possible in jcl? If yes, how?
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.
Can we call instream to catalog and catalog to instream?
Is there any command to check wether the ps file is in sorted order?