On a RACF site the following error occurred when running the Receive Order job when the user is not owner of the keyring:
GIM69148S ** KEY RING user1/keyring ASSOCIATED WITH USERID user1 WAS NOT FOUND.
The following permissions were given to user2, but the error is still present:
PERMIT IRR.DIGTCERT.LIST CLASS(FACILITY) ID(user2) ACCESS(READ)
PERMIT IRR.DIGTCERT.LISTRING CLASS(FACILITY) ID(user2) ACCESS(UPDATE)
SETROPTS RACLIST(FACILITY) REFRESH
Check if the RDATALIB class is being used. If so, a specific permission for the keyring should be written.
Here is an example of RDATALIB permission:
If the RDATALIB class is not active:
SETROPTS CLASSACT(RDATALIB) RACLIST(RDATALIB)
Defining the resource, permitting and refreshing the class
RDEF RDATALIB user1.keyring.LST UACC(NONE)
PERMIT user1.keyring.LST CLASS(RDATALIB) ID(user2) ACCESS(UPDATE)
SETR RACLIST(RDATALIB) REFRESH