CA Top Secret for z/OS trying to get a better understanding of using these 2 keywords on dataset rules PRIVPGM & LIBRARY Rules

Document ID : KB000044054
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:
 
CA Top Secret for z/OS trying to get a better understanding of using these 2 keywords on dataset rules PRIVPGM & LIBRARY Rules

 

Answer:

If PRIVPGM is not specified with LIBRARY, then the executing program must come 

from a link listed library or the link pack area (LPA). The program cannot be 

loaded from a JOBLIB, STEPLIB, or TASKLIB. 

 

If PRIVPGM is specified with LIBRARY, then the executing program must come 

from the library specified in the PERMIT command function. 

 

If the PRIVPGM is coming from a STEPLIB and there is no LIB operand 

on the permit, you will receive: 

TSS7231E UNAUTHORIZED JOB/STEP/TASK LIBRARY FOR DATASET 

Client has a dataset permit with PRIVPGM and no LIB on it 

 

You need to either put LIB(library) on the permit or specify OPTIONS(14) to allow the PRIVPGM 

to come from any library, regardless of whether the library was in the 

linklist, STEP/JOB/TASKLIB.

 

Additional Information:

https://docops.ca.com/ca-top-secret/16-0/en/product-information