Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 copying data without knowing location arunsoods DFSORT/ICETOOL 6 Thu Jul 20, 2017 1:03 pm
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 19 Thu Jul 13, 2017 2:11 pm
No new posts SQL - select data available in index Nileshkul DB2 3 Mon Jun 26, 2017 1:30 am
No new posts NDM syntax checking without actually ... GAPX1 All Other Mainframe Topics 0 Wed Jun 07, 2017 2:36 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us