Previous Topic: Examples: PREFIX keywordNext Topic: Examples: PRIVPGM keyword


PRIVPGM Keyword—Specify Programs in Control

Valid on z/OS.

Use the PRIVPGM keyword to specify the full names of the programs in control when a resource is accessed. A privileged program specification restricts the use of a resource to a control path.

This keyword has the following format:

TSS PERMIT(acid) resource(prefix(es)) PRIVPGM(program)
Prefix length

One to eight characters

Capacity of list

One to five program names

(DSNAMEs only) PRIVPGM may be combined with LIBRARY to specify the library in which the privileged program must reside. If LIBRARY is not specified, the privileged program must come from the link pack area (LPA) or from a library in the link list.

The privileged program specified in the PERMIT function must be executed via the following JCL keyword:

EXEC PGM=program

or via a program executed through LINK, LOAD, ATTACH, or XCTL.

Technically, the program must be associated with the top‑most or bottom‑most PRB.

This keyword is used with: