IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

DASD report


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
die7nadal

Active User


Joined: 23 Mar 2005
Posts: 156

PostPosted: Wed Apr 20, 2005 1:52 am
Reply with quote

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
View user's profile Send private message
ankyhunk

Moderator


Joined: 05 May 2005
Posts: 98
Location: Navi Mumbai, India

PostPosted: Mon May 09, 2005 10:41 am
Reply with quote

I think you can use ACF2 & SMS for the above cause.
Back to top
View user's profile Send private message
tbrannon

New User


Joined: 10 May 2005
Posts: 1
Location: St. Louis, MO USA

PostPosted: Tue May 10, 2005 11:44 pm
Reply with quote

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
View user's profile Send private message
die7nadal

Active User


Joined: 23 Mar 2005
Posts: 156

PostPosted: Tue May 10, 2005 11:47 pm
Reply with quote

Thanks for the reply.
Back to top
View user's profile Send private message
grepusr3

New User


Joined: 10 May 2005
Posts: 29

PostPosted: Tue May 17, 2005 7:12 am
Reply with quote

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: Use [URL] BBCode for External Links
File# 135 Greg Price Load Module library
-- www.cbttape.org/ftp/cbt/CBT135.zip -- SUPERLST - VTOC listing utility program

File# 343 A VTOCLIST program - Peter Havercan & John Kalinich
-- 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
-- www.cbttape.org/ftp/cbt/CBT411.zip
-- www.cbttape.org/ftp/cbt/CBT412.zip

VTOC TSO Command (classic)
www.jaymoseley.com/hercules/cbtware/vtoc.htm

DASDSCAN - VTOC reporting tool
--- product -- DASDSCAN (now unsupported, chaep, may be free now, contact them)
--- utilsoft.com/index.html

I hope this helps!

-Pelad
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Need help on formatting a report DFSORT/ICETOOL 14
No new posts Creating Report using SORT DFSORT/ICETOOL 7
No new posts Ca7 long running jobs report All Other Mainframe Topics 1
No new posts Report of batch jobs JCL & VSAM 1
No new posts DASD - non SMS - volser change - VSAM... JCL & VSAM 2
Search our Forums:

Back to Top