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 Why TS/OP would Not contact site supp... RahulG31 All Other Mainframe Topics 2 Wed Mar 22, 2017 7:46 am
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm


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