I'm trying to run DBCGSPR to list out the source member settings and it's failing with this error:
CSV019I REQUESTED MODULE DBCVTPR NOT ACCESSED, IS
IN NON-APF LIBRARY/CONCATENATION
CSV028I ABEND306-0C JOBNAME=nnnnnnnn
STEPNAME=STEP1
Release : 15.1
Component : CA DATACOM/DB
The problem occurs when using the Datacom CICS Services CUSLIB because unlike the Datacom CUSLIB it is not APF authorized.
The Datacom CABDLOAD and Datacom CUSLIB datasets are both APF authorized so there is no problem running DBCGSPR as the step runs authorized and all libraries are authorized.
However, the Datacom CICS Services CUSLIB is not APF authorized.
If the STEPLIB DD statement only contains the Datacom CABDLOAD or both the CABDLOAD and the Datacom CUSLIB then the step runs authorized and fails with a S306 when it tries to load the modules from the CUSLIB DD statement which contains a non-APF library, the Datacom CICS Services CUSLIB.
The solution is to add the Datacom CICS CUSLIB to the STEPLIB so the step runs without authorization.
//STEPLIB DD DISP=SHR,DSN=datacom.CABDLOAD
// DD DISP=SHR,DSN=datacom.cics.CUSLIB
.
.
//CUSLIB DD DISP=SHR,DSN=datacom.cics.CUSLIB
See the CA Datacom documentation in TechDocs, section Generating Source Members from CUSLIB Content