This article discusses using the SECBATCH menu and commands to monitor user environments.
One role of the user profile is to define the environment for the user, including the output queue, the initial menu, and the job description. The user’s environment affects how the user sees the system and, to some extent, what the user is allowed to do. The user must have authority to the objects that are specified in the user profile. However, if your authority scheme is still in progress or is not very restrictive, the user environment that is defined in a user profile may produce results that you do not intend.
You can use the *ENVINFO option of the Print User Profile (PRTUSRPRF) command to help you monitor the environments that are defined for system users. The following figure shows an example of the report:
User Profile Information Report type . . . . . . . . . : *ENVINFO Select by . . . . . . . . . . : *USRCLS Initial Initial Job Message Output Attention User Current Menu/ Program/ Description/ Queue/ Queue/ Program/ Profile Library Library Library Library Library Library Library AUDSECOFR AUDITOR MAIN *NONE QDFTJOBD QSYSOPR *WRKSTN *SYSVAL *LIBL QGPL QSYS USERA *CRTDFT OEMENU *NONE QDFTJOBD USERA *WRKSTN *SYSVAL *LIBL QGPL QUSRSYS USERB *CRTDFT INVMENU *NONE QDFTJOBD USERB *WRKSTN *SYSVAL *LIBL QGPL QUSRSYS USERC *CRTDFT PAYROLL *NONE QDFTJOBD USERC PAYROLL *SYSVAL *LIBL QGPL QUSRSYS PRPGMLIB
For more information, see: Monitor security messages.