How To List the z/OS UNIX System Services File Systems Currently in Use

As always there’s more than one way to skin a cat and listing the z/OS UNIX System Services file systems currently in use is no different. You can use ISHELL, OMVS, you can write a script,… or you can simply use an MVS command to do it.

What MVS command is that you may ask? No other then the DISPLAY OMVS,FILE or simply D OMVS,F in its shorter version.

An example of the output of the command is as follows:


D OMVS,F
RESPONSE=TST1                                                          
 BPXO045I 08.35.52 DISPLAY OMVS 987                                    
 OMVS     000E ACTIVE             OMVS=(T0,M0)                            
 TYPENAME   DEVICE ----------STATUS----------- MODE  MOUNTED    LATCHES
 ZFS            28 ACTIVE                      READ  11/07/2014  L=40  
   NAME=IMS1210.SDFSZFS                              10.25.18    Q=0   
   PATH=/usr/lpp/ims/ims12                                             
 ZFS            17 ACTIVE                      RDWR  11/07/2014  L=29
   NAME=JVB700.ZFS                                   10.25.16    Q=0 
   PATH=/usr/lpp/java/J7.0_64                                        
 ZFS            16 ACTIVE                      RDWR  11/07/2014  L=28
   NAME=JVA700.ZFS                                   10.25.16    Q=0 
   PATH=/usr/lpp/java/J7.0                                           
 ZFS             1 ACTIVE                      RDWR  11/07/2014  L=13
   NAME=ZFS.ROOT.Z113                                10.25.13    Q=0 
   PATH=/                                                            
 HFS            30 ACTIVE                      RDWR  11/07/2014  L=42
   NAME=USER.HFS.SMPE		                        10.25.18    Q=0 
   PATH=/u/smpe                                             
 HFS            13 ACTIVE                      RDWR  11/07/2014  L=25
   NAME=JVB600.HFS                                   10.25.15    Q=0 
   PATH=/usr/lpp/java/J6.0_64                                        
 HFS            12 ACTIVE                      RDWR  11/07/2014  L=24
   NAME=JVA600.HFS                                   10.25.15    Q=0  
   PATH=/usr/lpp/java/J6.0                                            
 HFS             8 ACTIVE                      RDWR  11/07/2014  L=20 
   NAME=USER.HFS.USERS                               10.25.14    Q=0  
   PATH=/u                                                            

This MVS command returns many useful information. For example:

TST1 – The system ID
OMVS=(T0,M0) – Tells us which BPXPRMxx members the system is using
Type Name – The file system type (ZFS, HFS or AUTOMNT)
MODE – Attribute mode used when the file system was mounted
NAME – Name of the file
PATH – Path where the file has been mounted

Be the first to comment

Leave a Reply

Your email address will not be published.


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.