Change Problem (CHGPRB)

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.

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
BRANCH Branch number Character value, *SAME, *NONE Optional
COUNTRY Country or region number Character value, *SAME, *NONE Optional
PRBCGY Problem category *SAME, *REPORT, *LOGONLY Optional
TEXT Text 'description' Character value, *SAME Optional

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.

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.

Element 1: Network identifier

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

Element 2: Control point name

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

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.
1-4
Specify the severity level of the problem.

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.

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.

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.

Branch number (BRANCH)

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

*SAME
The branch number does not change.
*NONE
The problem has no branch number.
character-value
Specify the three-digit branch number for the problem log entry. All three digits must be specified.

Country or region number (COUNTRY)

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

*SAME
The country or region number does not change.
*NONE
The problem has no country or region number.
character-value
Specify the three-digit country or region number for the problem log entry. All three digits must be specified.

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.

Text 'description' (TEXT)

Specifies the description of the problem.

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

Examples

CHGPRB   PRBID(9213438081)  ORIGIN(AS400 SYSTEM02)  SEV(4)
         ASNUSER(JEFFREY)  GROUP(CHGPROB)  SRVID(PMR01)
         BRANCH(694) COUNTRY(760) 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, changes the branch number to 694, changes the country or region number to 760, and adds a new description.

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.