Change Problem Selection Entry (CHGPRBSLTE)

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

The Change Problem Selection Entry (CHGPRBSLTE) command is used to change a problem selection entry that was added using the Add Problem Selection Entry (ADDPRBSLTE) command.

Top

Parameters

Keyword Description Choices Notes
FILTER Filter Qualified object name Required, Key, Positional 1
Qualifier 1: Filter Name
Qualifier 2: Library Name, *LIBL, *CURLIB
SEQNBR Sequence number 1-9999, *LAST Required, Key, Positional 2
SELECT Selection data Single values: *SAME, *ANY
Other values (up to 10 repetitions): Element list
Optional
Element 1: Relationship *IF, *AND, *OR
Element 2: Attribute *EVENT, *ORIGIN, *ORGNETID, *ORGCPNAM, *RCVNETID, *RCVCPNAM, *PROBTYPE, *SEV, *MSGID, *ORGHDW, *RSCHDW, *RSCSFW
Element 3: Relational operator *EQ, *GT, *LT, *NE, *GE, *NL, *LE, *NG, *CT
Element 4: Value Character value
GROUP Group Name, *SAME, *DEFAULT Optional
Top

Filter (FILTER)

Specifies the name of the filter.

This is a required parameter.

The possible library values are:

*LIBL
All libraries in the library list for the current thread are searched until the first match is found.
*CURLIB
The current library for the job is used to locate the filter. If no library is specified as the current library for the job, the QGPL library is used.
library-name
Specify the name of the library where the filter is located.
problem-log-filter-name
Specify the name of the filter.
Top

Sequence number (SEQNBR)

Specifies the sequence number of the problem selection entry. Selection entries in a filter are numbered by sequence number. When a filter is applied, the selection entries with lower sequence numbers are tried first.

This is a required parameter.

*LAST
Change the default selection entry. This entry is automatically added when the filter is created.
sequence-number
Specify a number between 1 and 9999.
Top

Selection data (SELECT)

Specifies that a problem log entry is selected or not selected based on whether information in the problem log entry satisfies a specified relationship.

You can specify a single value (*ANY) or all four elements that define a relationship. When you specify the four elements, the attribute and attribute value are compared for the relationship specified by the relational operator.

*SAME
The value does not change.
*ANY
Any problem log entry is selected.

The possible Logical Operator values are:

*IF
The specified relationship must be satisfied for a problem log entry to be selected.
*AND
The specified relationship must be satisfied in addition to the *IF relationship for a problem log entry to be selected.
*OR
The specified relationship must be satisfied in addition to or instead of the *IF relationship for a problem log entry to be selected.

The possible Attribute values are:

*EVENT
The filter is applied when the problem log entry is created (a value of 1), changed (a value of 2), or deleted (a value of 3). If the entry has been created and is changed before being committed, use the value of 1.
*ORIGIN
The problem log entry was locally generated (a value of L) or was received from another system (a value of R).
*ORGNETID
The network identifier (ID) of the system in which the problem log entry originated is specified. This information is displayed using the Work with Problems (WRKPRB) command which shows the details for a specific problem. Specify the value in the following form:

'nnnnnnnnnn'

*ORGCPNAME
The control point name of the system in which the problem log entry originated is specified. This information is displayed using the Work with Problems (WRKPRB) command which shows the details for a specific problem. Specify the value in the following form:

'cccccccccc'

*RCVNETID
The network identifier of the remote system from which the problem log entry was received is specified. This information is displayed using the Work with Problems (WRKPRB) command which shows the details for a specific problem. Specify the value on the following form:"

'nnnnnnnnnn'

*RCVCPNAM
This attribute specifies the Remote System Control Point name in which the problem log entry received from. This information is displayed using the Work with Problems (WRKPRB) command and shows the details for a specific problem. The value specified for this attribute should be of the following form:

'cccccccccc'

*PROBTYPE
The type of problem entry created. Possible problems are machine-detected (a value of 1), user-detected (a value of 2), PTF order (a value of 3), application-detected (a value of 4), Client machine-detected (a value of 5), or Client user-detected (a value of 6).

Note: User-Detected Remote Hardware problems are grouped with number 2 User-Detected problems.

*SEV
The severity of the problem log entry created. Possible choices are high (a value of 1), medium (a value of 2), low (a value of 3), none (a value of 4), or not assigned (a value of 5).

Note: Problems do not have a severity level when locally created.

*MSGID
The message ID found in the problem log entry. This is usually an AS/400 message ID from an AS/400 system.
*ORGHDW
The origin hardware resource information in the problem log entry. This information is displayed using the Work with Problems (WRKPRB) command and shows the details for a specific problem. Specify the value in the following form:

'tttt mmm ss-sssssss'
'tttt mmm ss-sssss'
'tttt mmm sssssss'
'tttt mmm sssss'

where tttt is the machine type, mmm is the model number and sssssssss is the serial number. Use this exact format to match a particular hardware resource exactly, or use a part of the hardware value with the Contains (*CT) relation to provide a partial match.

*RSCHDW
The failing hardware resource information in the problem log entry. This information is displayed using the Work with Problems (WRKPRB) command and shows the details for a specific problem. Specify the value in the following form:

'tttt mmm ss-sssssss'
'tttt mmm ss-sssss'
'tttt mmm sssssss'
'tttt mmm sssss'

where tttt is the machine type, mmm is the model number and sssssssss is the serial number. Use this exact format to match a particular hardware resource exactly, or use a part of the hardware value with the Contains (*CT) relation to provide a partial match.

*RSCSFW
The failing software resource information in the problem log entry. This information is displayed using the Work with Problems (WRKPRB) command and shows the details for a specific problem. Specify the value in the following form:

'ppppppp vv rr mm'

where ppppppp is the licensed program ID, vv is the version number, rr is the release number, and mm is the modification level. Use this exact format to match a particular software resource exactly, or use a part of the software value with the Contains (*CT) relation to provide a partial match.

Relational Operator values. The value specified for Attribute values must have the following relationship to the Attribute Values:

*EQ
Equal to
*GT
Greater than
*LT
Less than
*NE
Not equal to
*GE
Greater than or equal to
*LE
Less than or equal to
*CT
Contains

The possible Attribute Value values are:

attribute-value
Specify a value of up to 30 characters to compare with the contents of the attribute specified for the Attribute value. The value must be specified in character format and must be enclosed in apostrophes if it contains blanks or special characters. If a CL variable is specified for the value, it must be a character variable.
generic*-attribute-value
Specify the generic attribute value. A generic value is a character string of one or more characters followed by an asterisk (*); for example, ABC*. If a generic name is specified, all values that begin with the generic value are selected. If an asterisk is not included with the generic (prefix) value, the system assumes it to be the complete value.
Top

Group (GROUP)

Specifies the group to which a problem is assigned if it matches the criteria specified on the SELECT parameter.

*SAME
The value does not change.
*DEFAULT
The problem is assigned to the default group.
group-name
Specify a group name.
Top

Examples

CHGPRBSLTE   FILTER(MYLIB/MYFILT)  SEQNBR(1250)
             SELECT((*IF *SEV *EQ 1) (*OR *SEV *EQ 2))
             GROUP(SEVHIGH)

This command changes the problem selection entry with the sequence number 1250 in filter MYFILT located in library MYLIB. If the severity level equals 1 or 2, it is put in group SEVHIGH.

Top

Error messages

*ESCAPE Messages

CPF2150
Object information function failed.
CPF2151
Operation failed for &2 in &1 type *&3.
CPF7A82
Error occurred while applying the problem filter.
CPF812F
Filter damaged.
CPF91DC
Selection entry with sequence number &4 not found.
CPF91DE
Filter &1/&2 at maximum size.
CPF91DF
The SELECT keyword cannot be changed for *LAST entry.
CPF91EA
*IF relationship not in correct position.
CPF91EB
Filter type &3 not correct for this operation.
CPF91EC
Internal processing error occurred.
CPF91E6
Generic values only allowed with *EQ or *NE.
CPF91E7
Character in position &4 not valid in value specified.
CPF91E8
Internal processing error occurred.
CPF9802
Not authorized to object &2 in &3.
CPF9803
Cannot allocate object &2 in library &3.
CPF9807
One or more libraries in library list deleted.
CPF9808
Cannot allocate one or more libraries on library list.
Top