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
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
how you can access an uncataloged dataset in a JCL?
Explain how can an in-stream dataset be terminated?
which utility is used to sort a file in jcl?
How to do automated restart when a job abend?
How to pass the parameter in parm using linkage section ? (syntax)?
When space is allocated for an output dataset, what units can be used?
what operation is performed by job statement?
How do you submit a job for execution?
What is jcl in mainframe, and how many types of jcl statements are there for a job?
what is JCL?
what is “Cond= even” and “Cond=only”?
Can I share my data with other jobs? How?
Name the parameters which can be used to limit the number of records written to a sysout dataset?
a dd statement has 2 types of parameters. Name them?