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


Please Help Members By Posting Answers For Below Questions

Explain in DD statement what is the use of DCB parameter?

650


Are there any set of rules for the names of the steps used in a job?

628


what JCL Procedures?

697


Give the syntax of job specifying jcl statement.

634


What do you understand by the terms: joblib and steplib?

617






Explain the function of dd disp parameter?

593


Explain the function of dd name parameter with a 2 part structure; audit.report?

888


Explain the purpose of dd * statement in jcl?

631


Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE

1961


Explain the function of the steplib dd statement?

635


what is the purpose of coding notify parameter in job statement?

681


How can a jobs execution priority be modified?

793


What is the function of the dd dcb keyword?

819


How does jcl act on a cobol code?

653


Why block size is multiple of lrecl in jcl?

908