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
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?
what are the types of abends that occur on job failure? And explain the possible causes of these
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
State the uses of syspring, sysin, sort fields, sum fields and dummy.
How can an in-stream dataset be terminated?
A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?
How to resolve the error "WER488A JOIN CAPACITY EXCEEDED" I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem? I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem?
Suppose I have five jobs to do. But I want to hold one?
How to override loadlib?
a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?
What is the function of the dd mgmtclas keyword in sms datasets?
Does jcl support automatic restart?
What are some jcl statements that are not allowed in procedures?
What do you understand by the term notcat 2 – gs?
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?