Getting Empty DASD Volume



Help for IBM's record-oriented filesystem VSAM, ESDS, KSDS, RRDS, LDS and Storage management Subsystems

Getting Empty DASD Volume

Postby samb01 » Thu Feb 14, 2019 1:48 pm

Hello, i'am looking for a way to get empty dasd volume of a storage groupe by MXI or Dcollect.
May be there an option to get it ?

Thank's for your help.
samb01
 
Posts: 431
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 1 time
Been thanked: 0 time

Re: Getting Empty DASD Volume

Postby willy jensen » Thu Feb 14, 2019 2:55 pm

I assume that you mean to find a way to identify empty disks in a storage group.
First of all, there really is no such thing. If a disk is SMS managed it will have at least a VTOC, most likely a VTOC index, and a VVDS unless it is a newly initialized disk with no pre-defined VVDS.
I am not aware of any commands or products that can tell you if a disk only contains those datasets.
I guess one could use MXIREXX (since you mention MXI) to make a list of a SG, then process the list to find disks where free space is close to total capacity, then do a list VTOC of those disks to check for 'real' datasets. For list VTOC I would use the VTOC command from CBTTAPE.ORG file 112.
willy jensen
 
Posts: 467
Joined: Thu Mar 10, 2016 5:03 pm
Has thanked: 0 time
Been thanked: 70 times

Re: Getting Empty DASD Volume

Postby samb01 » Thu Feb 14, 2019 3:34 pm

Hello Willy, you anderstood well my question.
For example, In the dasd volume : KDBP01
if there is only those datasets ::


SYS1.VTOCIX.KDBP01
SYS1.VVDS.VKDBP01
 


i consider the dasd volume is empty.
samb01
 
Posts: 431
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 1 time
Been thanked: 0 time

Re: Getting Empty DASD Volume

Postby expat » Thu Feb 14, 2019 3:40 pm

If you read the DCOLLECT section at the end of the IDCAMS manual, you will know exactly how to do this
expat
 
Posts: 459
Joined: Sat Jun 09, 2007 3:21 pm
Has thanked: 0 time
Been thanked: 8 times


Return to VSAM/SMS

 


  • Related topics
    Replies
    Views
    Last post