Change Problem (CHGPRB)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Change Problem (CHGPRB) Command allows you to change the values of selected fields within the problem log. The changeable fields include the service assigned number, problem severity, user name assigned to the problem log entry, and problem description.

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.

Top

Parameters

Keyword Description Choices Notes
PRBID Problem identifier Character value Required, Key, Positional 1
ORIGIN Origin Element list Optional, Key
Element 1: Network identifier Communications name, *NETATR
Element 2: Control point name Communications name, *NETATR
SEV Severity *SAME, *NONE, 1, 2, 3, 4 Optional
ASNUSER User assigned Simple name, *SAME, *NONE Optional
GROUP Group assigned Name, *SAME, *NONE, *DEFAULT Optional
SRVID Service number Character value, *SAME, *NONE Optional
PRBCGY Problem category *SAME, *REPORT, *LOGONLY Optional
TEXT Text 'description' Character value, *SAME Optional
Top

Problem identifier (PRBID)

Specifies the 10-character 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.

This is a required parameter.

Top

Origin (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.

The possible network ID values are:

*NETATR
The local network identifier of this system is used.
network-identifier
Specify the network identifier of the system on which the problem originated.

The possible control point name values are:

*NETATR
The local control point name of this system is used.
control-point-name
Specify the control point name of the system on which the problem originated.
Top

Severity (SEV)

Specifies the severity level of the problem. Severity levels are assigned by the user when the problem is prepared for reporting. The four severity levels are:

1
High
2
Medium
3
Low
4
None
*SAME
The severity level does not change.
*NONE
No severity level is assigned to the problem.
severity-level
Specify the severity level of the problem.
Top

User assigned (ASNUSER)

Specifies the user ID of the person to whom the problem is assigned.

*SAME
The user ID does not change.
*NONE
No user is assigned to the problem.
user-id
Specify the user ID assigned to the problem.
Top

Group assigned (GROUP)

Specifies the group in the filter to which the problem is assigned.

*SAME
The group name does not change.
*NONE
The problem is not assigned to a filter group.
group-name
Specify the group into which the problem entry is filtered.
Top

Service number (SRVID)

Specifies the service assigned number for the problem. This number was assigned when the problem was reported to IBM service support.

*SAME
The service assigned number does not change.
*NONE
The problem has no service assigned number.
service-assigned-number
Specify the service assigned number for the problem.
Top

Problem category (PRBCGY)

Specifies whether a problem should be logged and reported to the service provider, or logged only.

*SAME
The setting does not change.
*REPORT
The problem will be logged and reported to the service provider.
*LOGONLY
The problem will be logged, but will not be reported to the service provider.
Top

Text 'description' (TEXT)

Specifies the description of the problem.

*SAME
The description does not change.
problem-description-text
Specify the problem description.
Top

Examples

CHGPRB   PRBID(9213438081)  ORIGIN(AS400 SYSTEM02)  SEV(4)
         ASNUSER(JEFFREY)  GROUP(CHGPROB)  SRVID(PMR01)
         TEXT('NEW PROBLEM DESCRIPTION')

This command changes the problem 9213438081 originating on SYSTEM02.AS400 to severity 4, changes the assigned user to JEFFREY, changes the group to CHGPROB, changes the service assigned number to PMR01, and adds a new description.

Top

Error messages

*ESCAPE Messages

CPF7AAD
Problem &1 not changed.
CPF7AA7
Problem &1 not found or in use.
CPF7A8D
Problem &1 not changed.
CPF7A9C
Cannot work with the problem log at this time.
Top