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
List the different jcl statements that are not permitted in the procedures?
what is use of dsn parameter in dd statement?
How is a type of file defined in the jcl that executes the cobol program?
what is the use of IEBGENER utility?
Explain about LMFREE�free data set from its association with data ID
How can a jobs execution priority be modified?
how to run batch program without jcl?
Where can program checkpoints be stored for use in a restart?
In sms datasets, what is the function of the dd mgmtclas keyword?
when can a job time-out occur? How to overcome that?
What are the parameters that are used in creating a gdg?
Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You
What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?
How gdg are concatenated?
What are hierarchy levels in jcl?