|
|
| Author |
Message |
die7nadal
Active User
Joined: 23 Mar 2005 Posts: 141
|
|
|
|
| Can anyone give me the utilities through which we can find and delete the DASD files that are older than 365 days in a system OR atleast a way to pull a report containing those files. |
|
| Back to top |
|
 |
References
|
Posted: Wed Apr 20, 2005 1:52 am Post subject: Re: DASD report |
 |
|
|
 |
ankyhunk
Moderator
Joined: 05 May 2005 Posts: 103 Location: Navi Mumbai, India
|
|
|
|
| I think you can use ACF2 & SMS for the above cause. |
|
| Back to top |
|
 |
tbrannon
New User
Joined: 10 May 2005 Posts: 1 Location: St. Louis, MO USA
|
|
|
|
Hi,
Here's something that I use:
Notes:
1. Take off the TYPRUN parm to get it to actually delete the data sets
2. Change the EXC and BY parms to fit your situation
This example shows that I'm excluding certain data sets from selection and that I'm only looking for uncataloged data sets that were created or referenced less than 3 days ago.
Tom
//JOBCARD ,
//DELETE EXEC PGM=ADRDSSU,REGION=4M,PARM='TYPRUN=NORUN' <== SIMULATE
//SYSPRINT DD SYSOUT=*
//I1 DD DISP=SHR,UNIT=SYSALLDA,VOL=SER=H1WK00
//I2 DD DISP=SHR,UNIT=SYSALLDA,VOL=SER=H1WK01
//NOTAPE DD DUMMY
//SYSIN DD *
DUMP DS(INC( -
** -
) -
EXC( -
**.DFH*.** -
,DFHSM*.** -
,CATALOG.** -
,SYS1.** -
,SYS3.*LIB.** -
) -
BY( -
(CATLG,EQ,NO) -
,(CREDT,LE,*,-3) -
,(REFDT,LE,*,-3) -
) -
) -
INDD(I1,I2) -
OUTDD(NOTAPE) -
DELETE PURGE
/* |
|
| Back to top |
|
 |
die7nadal
Active User
Joined: 23 Mar 2005 Posts: 141
|
|
|
|
| Thanks for the reply. |
|
| Back to top |
|
 |
grepusr3
New User
Joined: 10 May 2005 Posts: 35
|
|
|
|
DATASET (VTOC) Listing.. (Delete info discussed above)
The IBM DFDSS utility works fine for the final dataset list and it is easy to delete other product libraries if we are not very careful - this is a very powerful utility and please be careful with DFDSS wildcard character usage. Some sites rename libraries from IBM defaults. Some sites do not have DFDSS licensed.
You may want to get a comprehensive VTOC listing of your volsers first. Then filter the datasets to be deleted from the master listing. I generally after full volume DFDSS dataset level weekly backups:
(1) crete a master listing of VTOC of all applicable volsers
(2) filter datasets to be deleted from the master listing and (run IEBIBALL utility) double check
(3) I submit DFDSS delete job with specific dataset names
This way I can restore dataset from my weekly backups (if need be), and avoid doing the backup if I do this later. I use DASDSCAN utility. Here are some URLs for the free utility:
CBTtape: www.cbttape.org
File# 135 Greg Price Load Module library
-- http://www.cbttape.org/ftp/cbt/CBT135.zip -- SUPERLST - VTOC listing utility program
File# 343 A VTOCLIST program - Peter Havercan & John Kalinich
-- http://www.cbttape.org/ftp/cbt/CBT343.zip -- VTOCLIST
File# 411 Rob Scott's utilities - source code and FB-80 -- VTOCUTIL
File# 412 Rob Scott's utilities - load modules
-- http://www.cbttape.org/ftp/cbt/CBT411.zip
-- http://www.cbttape.org/ftp/cbt/CBT412.zip
VTOC TSO Command (classic)
http://www.jaymoseley.com/hercules/cbtware/vtoc.htm
DASDSCAN - VTOC reporting tool
--- product -- DASDSCAN (now unsupported, chaep, may be free now, contact them)
--- http://utilsoft.com/index.html
I hope this helps!
-Pelad |
|
| Back to top |
|
 |
|
|
|