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
Explain in DD statement what is the use of DCB parameter?
Are there any set of rules for the names of the steps used in a job?
what JCL Procedures?
Give the syntax of job specifying jcl statement.
What do you understand by the terms: joblib and steplib?
Explain the function of dd disp parameter?
Explain the function of dd name parameter with a 2 part structure; audit.report?
Explain the purpose of dd * statement in jcl?
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE
Explain the function of the steplib dd statement?
what is the purpose of coding notify parameter in job statement?
How can a jobs execution priority be modified?
What is the function of the dd dcb keyword?
How does jcl act on a cobol code?
Why block size is multiple of lrecl in jcl?