Is it possible to take a PDS and write it to a GDG? If so,
can you provide an example? Thanx
Answer Posted / 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 |
Post New Answer View All Answers
What parameters can be used to limit the number of records written to a sysout dataset?
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
Explain how can return codes be tested before execution of a job step?
what is the purpose of coding notify parameter in job statement?
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?
In job processing, what happens in conversion stage?
What parameter of the job statement is used to limit the cpu time consumed by the job?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
What are hierarchy levels in jcl?
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
Name the statement which can be used to send data to another mvs jes3 node?
How would you understand error(execution phase)?
How to do automated restart when a job abend?
what is use of dcb parameter in dd statement?