Ah!  This one, I like.  Thanks to all who replied.

Larry


> Date: Tue, 1 Dec 2009 10:07:26 -0500
> From: [email protected]
> Subject: Re: Tool for identifying mount points?
> To: [email protected]
> 
> >Date:    Mon, 30 Nov 2009 07:22:02 -0800  
> >From:    John Mattson <[email protected]>  
> >Subject: Re: Tool for identifying mount points?  
>   
> >One way is to go to USS (OMVS) ISHELL from TSO and select the  
> >File_systems option at the top and select FILE systems  
> >But this will only show what each system has mounted.  At least it gives  
>  
> >you a list to check.  
> 
> IBM supplied a quick little rexx exec in Using Rexx and Unix Systems 
> Services SA22-7806-06
> This exec scan the current mount table and reports back what it finds:
>    /* rexx */ 
> address syscall 'getmntent m.' 
> numeric digits 12 
> do i=1 to m.0 
> address syscall 'statfs' m.mnte_fsname.i 's.' 
>    j=s.stfs_avail * s.stfs_blocksize 
>    say m.mnte_path.i'    'strip(m.mnte_fsname.i) '('j')' 
> end  
> 
> 
> Jim Holloway - MetLife
> The information contained in this message may be CONFIDENTIAL and is for the 
> intended addressee only.  Any unauthorized use, dissemination of the 
> information, or copying of this message is prohibited.  If you are not the 
> intended addressee, please notify the sender immediately and delete this 
> message.
> 
> ----------------------------------------------------------------------
> 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
                                          
_________________________________________________________________
Windows Live: Keep your friends up to date with what you do online.
http://go.microsoft.com/?linkid=9691815
----------------------------------------------------------------------
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