Page 1 of 1
Way to delete members not updated today?
Posted: Wed Jun 10, 2015 11:13 am
by M Pandey
Hi,
There is a PDS which has got around 80K members. This PDS has got a lot of I/O. I am looking for a way using which I should be able to delete all members that have been changed more then 24 hours ago. Can there be a way of doing it?
Thanks in advance.
Re: Way to delete members not updated today?
Posted: Wed Jun 10, 2015 11:36 am
by enrico-sorichetti
NO!
Re: Way to delete members not updated today?
Posted: Fri Jun 12, 2015 4:55 pm
by M Pandey
hmm...but if we try to read the ISPF statistics, and issue a delete (which I dont know how)...can that be a strating point?
But why do you say a plain no? Any reasonin behind that? Please tell.
Re: Way to delete members not updated today?
Posted: Fri Jun 12, 2015 6:24 pm
by enrico-sorichetti
because You cannot trust the ISPF statistics !
anybody can reset the ISPF statistics and foul up things
Code: Select all
Menu RefList Utilities Help
──────────────────────────────────────────────────────────────────────────────
Reset ISPF Statistics
Option ===>
R Reset (create/update) ISPF statistics D Delete ISPF statistics
New Userid . . . . . . (If userid is to be changed)
New Version Number . . (If version number is to be changed)
SCLM Setting Enter "/" to select option
3 1. SCLM 2. Non-SCLM 3. As is / Reset Mod Level
/ Reset Sequence Numbers
ISPF Library: / Reset Date/Time
Project . . . ENRICO / Reset Number of Lines
Group . . . . TEST
Type . . . . VBIN
Member . . . (Blank or pattern for member selection
list, "*" for all members)
Other Partitioned Data Set:
Name . . . . . . .
Volume Serial . . . (If not cataloged)
Data Set Password . . (If password protected)
Re: Way to delete members not updated today?
Posted: Fri Jun 12, 2015 6:54 pm
by Robert Sample
hmm...but if we try to read the ISPF statistics, and issue a delete (which I dont know how)...can that be a strating point?
Not every PDS has ISPF statistics. Not every member of a PDS with ISPF statistics HAVE to have statistics -- a member added via a utility usually won't have any statistics or will have the statistics from the source (not updated to reflect the current update). And as was pointed out, if someone resets the ISPF statistics for that PDS then you lose the update information as well.