Command reference / sec

PRTADPOBJ

Print Adopting Objects

The Print Adopting Objects (PRTADPOBJ) command allows you to print a report of the objects that adopt the special and private authorities of the specified user profile. This is a way to check for security exposures associated with program adoption.

Allowed environments: *INTERACT, *IPGM, *IREXX, *EXEC, *BATCH, *BPGM, *BREXX. Positional parameters: 2.

Restrictions

Parameters

USRPRF User profile

This is a required parameter. The name of the user profile whose adopted object information will be printed.

Type
*GENERIC
Required
Yes
Length
10
Case
Uppercase

Suggested / special values: *ALL

*ALL
The adopted information will be printed for all user profiles.
name
The name of the user profile to print the adopted information for.
generic-name
The generic name of the user profile to print the adopted information for. A generic name is a character string of one or more characters followed by an asterisk (*).

RPTTYPE Report type

Type
*CHAR
Required
No
Default
*FULL
Length
7
Case
Uppercase

Allowed values: *FULL, *CHANGE

Examples

PRTADPOBJ USRPRF(OURSECOFR)

This command prints both full and changed reports for the objects that adopt the special and private authorities of the user profile OURSECOFR.

IBM command documentation

Generated from os/cl/catalog/PRTADPOBJ.json and os/cl/help/PRTADPOBJ.json.