Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Generation Data Group auto delete Error

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
svishnudas

New User


Joined: 02 Aug 2006
Posts: 4

PostPosted: Fri Aug 04, 2006 11:31 am    Post subject: Generation Data Group auto delete Error
Reply with quote

Hi all...

We specified the the followin while creating base index limit 5, NOEMPTY and SCRATCH.

We created a new GDG by specifying the generation number as (+5), (+5) and (+1), by submitting the program one after the other.
Thus we could create GDGs
G0005V00
G0010V00
G0011V00

In the next step, we run the same program as follows, ESCUB11.VDS.G0002V00 and ESCUB11.VDS.G0001V00 one by one.
Thus we had
G0001V00
G0002V00
G0005V00
G0010V00
G0011V00

Then we created G9999V00 by specifying ESCUB11.VDS.G9999V00. Now instead of deleting G0005V00, which is the oldest, G0001V00 was deleted.

Can anyone please tell the logic behind this and internal working of deletion and creation of a generation.....???????
Back to top
View user's profile Send private message

IQofaGerbil

Active User


Joined: 05 May 2006
Posts: 183
Location: Scotland

PostPosted: Fri Aug 04, 2006 3:29 pm    Post subject: Re: Generation Data Group auto delete Error
Reply with quote

As I understand it , IDCAMS uses the GDG number (g0001) to determine the oldest and newest datasets in the group and NOT the date/time they were actually created.
Thus if you go messing around with these numbers you will not get the intended benefits.

Generally one would create the next in the group (+1) and refer to it or others created prior (0) (-1) etc.

Bearing that in mind, I'm still trying to figure why you would want to do what you are indicating!
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us