CL Command Reference - ANZPRB
CL Command List > ANZPRB Reference
Description:
The Analyze Problem (ANZPRB) command allows you to analyze, create problem records for, or report problems that are not detected by the system. For example, you can analyze or report:
. Job or programming problems.
. Equipment or communications problems.
. Problems that made it necessary to do an initial program load (IPL) of the system again.
. Problems on a device or system not attached to your system.
Restriction: This command is shipped with public *EXCLUDE authority and the QPGMR, QSYSOPR, QSRV, and QSRVBAS user profiles have private authorities to use the command.
Examples:
Example 1: Displaying the Menu
ANZPRB
This command shows the Analyze Problem menu.
Example 2: Starting Remote Analysis
ANZPRB ANZTYPE(*REMOTE)
This command shows the display which prompts for the remaining values of the command. After you specify the appropriate values, remote analysis begins.
Example 3: Accessing Remote System with User ID and Password
ANZPRB ANZTYPE(*REMOTE) RCPNAME(RCH38377) USERID(JON)
PASSWORD(MY1STPWD)
This command shows the display which prompts for the remaining values of the command. After you specify the appropriate values beyond the ones specified on the command example, remote analysis begins.
Example 4: Remote Analysis has Security Level of 10
ANZPRB ANZTYPE(*REMOTE) RCPNAME(RCH38377) USERID(JON)
This command is slightly different than the preceding example. The same display prompt appears; however, if PASSWORD is not specified, the system assumes that the remote system has a security level of 10, that is, it does not use passwords. After you specify the appropriate values beyond the ones specified on the command example, remote analysis begins.
Example 5: Displaying the Menu
ANZPRB ANZTYPE(*MENU)
This command shows a menu prompting you for the type of analysis to be done. The remaining parameters do not appear on the display.
Example 6: Starting Local Analysis
ANZPRB ANZTYPE(*LOCAL)
This command begins analysis on the local device. The remaining parameters do not appear on the display.