QRYPRBSTS (Query Problem Status)

QRYPRBSTS Command syntax diagram

 

Purpose

This command allows the retrieval of problem status information from *IBMSRV (RETAIN) or from another iSeries 400 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.

 

Required Parameters

PRBID
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 origin.

 

Optional Parameters

ORIGIN
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

*NETATR: The LCLNETID value specified in the system network attributes is used.

network-identifier: Specify a network identifier.

Element 2: Control Point Name

*NETATR: The LCLNETID value specified in the system network attributes is used.

control-point-name: Specify a control point name.

SRVID
Specifies the service identifier for the problem log entry. This number is assigned when the problem is reported to IBM service support.

service-identifier: Specify the service-assigned number for the problem log entry.

RMTCPNAME
Specifies the destination of the service provider to whom the service request is sent.

Element 1: Remote Control Point Name

*IBMSRV: The service request is sent to IBM service support.

*SELECT: A list of service providers is shown from which the user can select the destination the service request is sent to.

remote-control-point-name: Specify the name of the control point that is the destination of the request.

RMTNETID
Specifies the remote name of the service provider's network.

*NETATR: The service provider is in the local network.

remote-network-identifier: Specify the network name of the service provider to whom the request is sent.

AUTOPRBCRT
Specifies whether a problem should automatically be created, if a problem does not exist on the system. This will be useful if the only thing the customer has is a PMR number.

*YES: Create a problem.

*NO: Do not create a Problem.

Examples for QRYPRBSTS

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.

Error messages for QRYPRBSTS

*ESCAPE Messages

CPF7AA7
Problem &1 not found or in use.
CPF7AD4
Network ID &1 not in correct format.
CPF7A84
Query status request routed to different system than specified.
CPF7A88
Error indicated in reply to request.
CPF7A9A
Remote control point and network identifier not valid.
CPF7A9B
Problem &1 cannot be queried.
CPF7A97
Invalid service identifier.
CPF7A98
Service identifier not allowed.
CPF7A99
Query must be sent to *IBMSRV.
CPF7B18
Control point &1 not in correct format.
CPF8C08
Cannot specify *SELECT for the control point name.
CPF8C09
&1 not defined as a service provider.
CPF8C24
Error occurred while processing request.