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 / rakesh jena

Simply you will copy all the 10 flat files into GDG base.
Then thry ISPF3.4 option menu you can see all the o/p of
flat would be available in last 10 current version of GDG
file. Please let me know if i am wrong but after try once.

We are using this method always in our pjct.

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK

1474


What is the function of a dd statement?

698


What do you understand by jcl?

617


What is timing concept in mainframe?

1645


What is the significance of addrspc parameter in the exec statement?

609






Explain the purpose of the dd keylen parameter?

658


when does a dataset go uncataloged?

819


Explain the function of //cntl statement?

639


in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?

2039


what happens in execution stage in job processing?

647


Is automatic restart possible in jcl?

722


What methodology can be adapted to transfer data to a program that is coded using the exec statement?

596


What is condition checking in jcl? Is this possible?

613


Explain the function of a dd statement?

647


How does jcl specify the job to the operating system?

737