View previous topic :: View next topic
|
Author |
Message |
Alan Playford
New User
Joined: 22 Aug 2012 Posts: 48 Location: UK
|
|
|
|
Guys,
I wish to specify some search criteria to find unreferenced datasets, as part of of a clean-up campaign, against certain disk volumes.
We don't have DFSMSHSM and therefore it is up to individuals to perform their own housekeeping. Of course, that never happens!
So, in your opinions, what is the best way to achieve this using standard IBM utilities (DFSMSdss etc)?
This can be either via batch job (preferred) or online ISPF (ISMF?) if you wish?
A sample of how to do it would be much appreciated!
Regards,
Al |
|
Back to top |
|
|
Abid Hasan
New User
Joined: 25 Mar 2013 Posts: 88 Location: India
|
|
|
|
Hello Al,
See if this helps. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
What DASD management software do you have installed ?
All of that sort of thing should be automated as part of the DASD management strategy. Adding it to SMS should be a doddle. |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
Back to top |
|
|
Pete Wilson
Active Member
Joined: 31 Dec 2009 Posts: 580 Location: London
|
|
|
|
//STEP1 EXEC PGM=ADRDSSU
//SYSPRINT DD *
//X DD DUMMY
//SYSIN DD *
DUMP ODD(X) ALLE OPT(4) PURGE DELETE -
DS(INC( -
data.set.name.or mask -
) -
BY(REFDT,LE,*-35) ) -
/* the above selects dataset matching the dsname masks unreferenced */ -
/* for 35 or more days prior to today */ -
/* then you can specify individual volsers ...or a Storgrp name.. */ -
IDY( -
(volser1) -
(volser2) -
)
STORGRP(sgname) |
|
Back to top |
|
|
Willy Jensen
Active Member
Joined: 01 Sep 2015 Posts: 712 Location: Denmark
|
|
|
|
The VTOC command from CBTTAPE.ORG. Ask for a report including the refdate, filter the report. |
|
Back to top |
|
|
|