ARCHIVE JOURNAL gets DB002365 Access denied to resource IDMSDMCL

Document ID : KB000103715
Last Modified Date : 28/06/2018
Show Technical Document Details
Question:
Why does the ARCHIVE JOURNAL job get error DB002365 C-4M353: Access denied to resource IDMSDMCL  after we changed the USERID that submits the job?
Answer:
The SRTT being used for the ARCHIVE JOURNAL job defines RESTYPE=DMCL as being secured internally (SECBY=INT) and the USER that submitted the job does not hold the USE privilege on the DMCL.

CONNECT TO SYSTEM; 
GRANT USE ON DMCL <DMCL name> TO <the USER or a GROUP the USER belongs to>;
Additional Information:
https://docops.ca.com/ca-idms-msgs/19/en/ca-idms-db-messages/db002365 

https://docops.ca.com/ca-idms-ref/19/en/utilities/utility-statements/archive-journal#ARCHIVEJOURNAL-Authorization