SMP/E APPLY get error messages in the access to the USS directories

book

Article ID: 225303

calendar_today

Updated On:

Products

CA Database Management Solutions for DB2 for z/OS

Issue/Introduction

Applying maintenance over the CA DB2 Tools and you get error messages in the access to the USS directories, you need to display the contents of the USS directories with USS commands to verify the USS directories structure is the right one.  

Environment

Release : 20.0 

Component : CA Database Management Solutions for DB2 for z/OS (COMMON SERVICES) 

Resolution

The following USS commands will give you the mount information for the USS directories, the permissions for the directories, as well as all the files contained in the directories. 
  
As a sample assume the MOUNT command for the ZFS file system was as follows: 
 
MOUNT FILESYSTEM('R200.CDBAZFS')  MOUNTPOINT('/usr/cai/dbmgmt') TYPE(ZFS) MODE(RDWR)
 
Then run the following USS commands to get the information about the USS directories.  
 
df /usr/cai/dbmgmt
ls -la /usr/cai | grep dbmgmt
ls -R /usr/cai/dbmgmt
 
A note about the USS commands, they must be executed on the same LPAR that the USS directories are mounted on, and the commands themselves are case sensitive. The USS commands can be executed through OMVS, or using BPXBATCH program. 
  
You can find more information about BPXBATCH program in the following URL. 
 
https://www.ibm.com/docs/en/zos/2.4.0?topic=environments-bpxbatch