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?
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 :
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.