How would I code JCL to copy a gdg data set G001v00 and
create a gdg Data set G001v01
Answer Posted / giri12
GDG is nothing but a sequential file. So i think using
IDACAMS or IEBGENER we can copy the GDG.
| Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
What are s0c1, s0c4, s0c5, s0c7 and socb?
What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?
How do you submit a job for execution?
State the uses of syspring, sysin, sort fields, sum fields and dummy.
What are some jcl statements that are not allowed in procedures?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
what are JCLLIB and STEPLIB in JCL?
List in order the hierarchical levels of jcl?
Explain how can a jobs execution priority be modified?
Is it possible to define dd statements as you want?
how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
What happens if both JOBLIB & STEPLIB is specified ?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
What is the purpose of dd?