Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
DASD report

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: DASD report
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    Post subject:
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    Post subject: Re: DASD report
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    Post subject: Re: DASD report
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    Post subject: Re: DASD report
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: 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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Report cost in CA-dispatch Nileshkul CA Products 3 Wed Jun 07, 2017 10:32 pm
No new posts Splitting of single report to seperat... abdulrafi TSO/ISPF 7 Mon Mar 27, 2017 3:59 pm
No new posts Easytrieve report shalem CA Products 4 Sun Feb 26, 2017 9:08 am
No new posts Detailed Transaction History report f... Kyle Carroll CICS 5 Tue Oct 18, 2016 12:42 am
No new posts Easytrieve - Report writing - Only 1 ... Abhi Nature CA Products 2 Wed Sep 14, 2016 11:40 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us