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
how you can access an uncataloged dataset in a JCL?
How would you understand error(execution phase)?
List in order the hierarchical levels of jcl?
What are the parameters that are used in creating a gdg?
How dummy is used in jcl?
Explain dfsort utility?
In job processing, what happens in conversion stage?
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
which utility is used a dummy utility?
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file
Explain how can a stopped job be started again?
what is JCL?
How do you submit a job for execution?
Where & How Do You Code Identifier In Jcl?
Is it possible to left uncode disp?