Hi,
Say I have 10 flat files and I want to copy all these 10
flat files to a GDG versions flat files (I have GDG base:
FDWS01.TEST.RESTORE) in one shot. Can we do that in one shot
using a JCL. May be by using IEBGENER. It's a bit urgent. So
anyone's fast rely would be appreciated.. Thanks in advance..
10 flat files
-----------------------------------
FDWS01.SUB.RESTORE1
FDWS01.SUB.RESTORE2
FDWS01.SUB.RESTORE3
;
;
FDWS01.SUB.RESTORE10
TO
GDG versions
-----------------------
FDWS01.TEST.RESTORE.G0001V00
FDWS01.TEST.RESTORE.G0002V00
FDWS01.TEST.RESTORE.G0003V00
;
;
FDWS01.TEST.RESTORE.G0010V00
Answer Posted / garry
@Balmukund : Ultimate reply:
Same can be done by following method:
Sort all the 10 files on a ASC KEY.
Merge them and copy them to any file (Or GDG).
Let me know if you ned JCL for this. I hope u can do it and post the JCL for others.
Thnx, pls let us know the result
Garry
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
how can the same proc be re-used and called by many jobs?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
Which dd parameters are required?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
Must tape dataset definitions include vol=ser specifications?
Explain how can an in-stream dataset be terminated?
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
Can we use DISP=SHR in output file in JCL
Does jcl support automatic restart?
In job processing, what happens in execution stage?
what is use of dsn parameter in dd statement?
how you will the direct the data to spool using sysout option?
What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?
Is it possible to define dd statements as you want?
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?