| Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Query Problem Status (QRYPRBSTS) command retrieves problem status information from *IBMSRV (RETAIN) or from another 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.
| Top |
| Keyword | Description | Choices | Notes |
|---|---|---|---|
| PRBID | Problem identifier | Character value, *PMR | Required, Positional 1 |
| ORIGIN | Origin | Element list | Optional |
| Element 1: Network identifier | Communications name, *NETATR | ||
| Element 2: Control point name | Communications name, *NETATR | ||
| RMTCPNAME | Remote control point | Communications name, *IBMSRV, *SELECT | Optional |
| RMTNETID | Remote network identifier | Communications name, *NETATR | Optional |
| SRVID | Service number | Character value | Optional |
| BRANCH | Branch number | Character value, *SRVID | Optional |
| COUNTRY | Country or region number | Character value, *SRVID | Optional |
| AUTOPRBCRT | Auto problem create | *YES, *NO | Optional |
| Top |
Specifies the problem identifier of the problem log entry. Problems with different system origins can have the same identifier. This parameter can be used with the ORIGIN parameter to select a single problem from a particular system.
Note: A value must be specified for the Service number (SRVID) parameter when PRBID is *PMR.
This is a required parameter.
| Top |
Specifies the node of the system from which the problem log entry originated. This parameter is used with the PRBID parameter to uniquely identify the problem.
Element 1: Network identifier
Element 2: Control point name
| Top |
Specifies the destination of the service provider to whom the service request is sent.
| Top |
Specifies the remote name of the service provider's network.
| Top |
Specifies the service assigned number for the problem log entry. This number was assigned when the problem was reported to IBM service support.
| Top |
Specifies the branch number for the problem log entry. This number was assigned when the problem was reported to IBM service support.
| Top |
Specifies the country or region number for the problem log entry. This number was assigned when the problem was reported to IBM service support.
| Top |
Specifies whether a problem should automatically be created, if a problem does not exist on the system.
| Top |
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)
SRVID(23774) AUTOPRBCRT(*YES)
This command searches the IBM Service database for the status of PMR 23774.
| Top |
*ESCAPE Messages
*STATUS Messages
| Top |