created file under GDG



Post anything related to mainframes (IBM & UNISYS) if not fit in any of the above categories

created file under GDG

Postby dn2012 » Thu Feb 23, 2012 4:54 am

How do I create file under GDG?
I have a base GDG.

Thanks
dn2012
 
Posts: 114
Joined: Thu Feb 16, 2012 6:10 am
Has thanked: 0 time
Been thanked: 0 time

Re: created file under GDG

Postby enrico-sorichetti » Thu Feb 23, 2012 5:01 am

what about reading Yourself the relevant JCL manuals ...
search Yourself for the manuals relative To Your zOS level starting from here
http://www-03.ibm.com/systems/z/os/zos/ ... index.html

for an older version but more than enough to start reading

z/OS V1R11.0 MVS JCL User's Guide
http://publibz.boulder.ibm.com/cgi-bin/ ... 0527042445

z/OS V1R11.0 MVS JCL Reference
http://publibz.boulder.ibm.com/cgi-bin/ ... 0526233806
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 3006
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 165 times

Re: created file under GDG

Postby dn2012 » Thu Feb 23, 2012 5:53 am

Thanks for links.
I have read and still reading.
I found in all documentation examples to create GDG is almost similar.

http://publibz.boulder.ibm.com/cgi-bin/ ... 1201094556

GDG ICFUCAT1.GDG02 is created

In mycase we already created GDG.
TESTA.IMS.ITD.SOURCE.DATA.GDG

Now I have some files under DS

SYSMC.TCIS.AGNCYIMF.DATA.v00171
SYSMC.TCIS.AGNCYIMF.DATA.v00172
SYSMC.TCIS.AGNCYIMF.DATA.v00173
SYSMC.TCIS.AGNCYIMF.DATA.v00174
SYSMC.TCIS.AGNCYIMF.DATA.v00175
SYSMC.TCIS.AGNCYIMF.DATA.v00176

I have been told to do as process the file SYSMC.TCIS.AGNCYIMF.DATA.(-2)

How can i move or create files under TESTA.IMS.ITD.SOURCE.DATA.GDG
dn2012
 
Posts: 114
Joined: Thu Feb 16, 2012 6:10 am
Has thanked: 0 time
Been thanked: 0 time

Re: created file under GDG

Postby steve-myers » Thu Feb 23, 2012 8:25 am

Recreating a (-x) generation, not version (always use the correct terminolgy) is not a good idea. If you have

BASE.G0171V00 (-2)
BASE.G0174V00 (-1)
BASE.G0175V00 (0)

you cannot create a BASE.G0173V00 using (-2). as (-2) is already BASE.G0171V00.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: created file under GDG

Postby NicC » Thu Feb 23, 2012 12:43 pm

SYSMC.TCIS.AGNCYIMF.DATA.v00171
SYSMC.TCIS.AGNCYIMF.DATA.v00172
SYSMC.TCIS.AGNCYIMF.DATA.v00173
SYSMC.TCIS.AGNCYIMF.DATA.v00174
SYSMC.TCIS.AGNCYIMF.DATA.v00175
SYSMC.TCIS.AGNCYIMF.DATA.v00176

One way would just be to rename these files to he base gdg and the generation number that you want. But the best way would be just to run an IEBGENER for each file with each file being used as the SYSUT1 dataset and SYSUT2 being gdgbasename(+1). And all that should have been in the manuals that you have 'read' or you should have been able to infer from the manuals.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times


Return to All other Mainframe Topics

 


  • Related topics
    Replies
    Views
    Last post