CL Command Reference - QRYPRBSTS

CL Command List > QRYPRBSTS Reference

Description:

The Query Problem Status (QRYPRBSTS) command retrievals problem status information from *IBMSRV (RETAIN) or from another AS/400 system that is enlisted as a service provider.

Restriction: This command is shipped with public *EXCLUDE authority and the QPGMR, QSYSOPR, QSRV, and QSRVBAS user profiles have private authorities to use this command.


Examples:

Example 1: Querying Problem Status on Another System

QRYPRBSTS PRBID(1234567890) RMTCPNAME(SYSTEM99)
RMTNETID(IBMNETID) AUTOPRBCRT(*YES)

This command searches for the status of a specific problem on another system (SYSTEM99).



Example 2: Querying IBM Service

QRYPRBSTS PRBID(*PMR) RMTCPNAME(IBMSRV) RMTNETID(*NETATR)
AUTOPRBCRT(*YES)

This command searches the IBM Service database for the status of PMR 8X123.