Hi Matan,

Have a look at the Vtoc tso command from CBTTAPE file 112. It checks against
each dataset listed in the vtoc against the catalog of the system the
command runs on. Be sure not to delete files that are catalogued onmore then
one system ;-)

Dash!

ITschak

On Tue, Mar 29, 2011 at 10:58 AM, Matan Cohen <[email protected]>wrote:

> Hi,
> We have an old machine we are getting rid off ( keeping it as a base system
> for disaster).
> this machine is sharing with our newer machine some DASD backup.
> I'm trying to clean all the Dataset which is only cataloged in this machine
> and not in the other Lpars in the new machine.
> I was looking in the CBT tape for a rexx which will get me a report base on
> a volume name it get of which dataset is cataloged on it. so i could later
> on compare this different report to get a list of dataset only cataloged in
> the old machine which i can get rid off . In the past I found  a CBT rexx
> which clean uncatalog dataset but this won't help me cause I have two LPARS
> involve.
>
> the reason I'm not starting to write my own REXX is because I never worked
> with V-toc so even directing me on the "right" way to do so will be
> helping.
> I already thought on letting a REXX perform a LISTDSI on every dataset on
> the disk base on IEHLIST LISTVTOC output. but will the LISTDSI will work on
> VASM ?
>
> any recommendations will be helpful.
>
>
> --
> best regards,
> matan cohen
> MF System Administrator.
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to