View previous topic :: View next topic
|
Author |
Message |
Ajay Baghel
Active User
Joined: 25 Apr 2007 Posts: 206 Location: Bangalore
|
|
|
|
Few queries with GDGs here:
1. I want to know whether EMPTY uncatalogues all the previous generations including current one or all the generations excluding current when limit is exceeded.
2. I had specified EMPTY NOSCRATCH LIMIT(2). After adding third generation, when i did 3.4, i found it showing all the 3 generations still catalogued whereas actually it should be showing latest 2 only.
I ran pgm=IEHLIST with LISTVTOC Option for the first Generation G0001V00. I found it residing on SMS managed volume.
In SMS case, what is the purpose of LIMIT when still all the datasets are catalogued?
That is my doubt?
Thanks
Ajay |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
It may be the combination of NOSCRATCH and EMPTY.
What status is G0001V00 from LISTCAT |
|
Back to top |
|
|
stodolas
Active Member
Joined: 13 Jun 2007 Posts: 632 Location: Wisconsin
|
|
|
|
The first generation will roll off, it just doesn't happen right away. Check back the next day. I have noticed at my shop the GDGs all start to roll out at a certain time of day. |
|
Back to top |
|
|
Ajay Baghel
Active User
Joined: 25 Apr 2007 Posts: 206 Location: Bangalore
|
|
|
|
I got the answer here. I had specified EMPTY NOSCRATCH LIMIT(2) while defining GDG Base catalog.
After adding two generations I do LISTCAT for first and second generation.
The sysprint shows - STATUS------------ACTIVE
Code: |
//IEHL01 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSIN DD *
LISTCAT ENTRIES( UPR4.TEST.GDG.G0001V00 ) ALL
/*
|
Now I add third generation and then do a LISTCAT for all 3 generations one by one. Though i still can see all the 3 generations in 3.4 dslist option panel.
Running LISTCAT again first and second generations gives me :
STATUS--------ROLLED-OFF
While against 3rd it is STATUS------------ACTIVE .
So, conclusion is : when limit exceeds, EMPTY causes all the generations ( whichever were present there prior to the offending generation was added) are rolled off i.e uncatalogued. However NOSCRATCH avoids getting them deleted.
Thanks everyone for your help,
Ajay |
|
Back to top |
|
|
|