Change Problem Action Entry (CHGPRBACNE)
Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Change Problem Action Entry (CHGPRBACNE) command allows you to change a problem action entry that was added using the Add Problem Action Entry (ADDPRBACNE) command. The program QSXVLDAC is used to validate the action entry, and a prompter exit routine is used to fill in the current values.
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 | ||
GROUP | Group | Name, *DEFAULT | Required, Key, Positional 2 |
ASNUSER | User assigned | Simple name, *NOCHG, *NONE, *SAME | Optional |
SNDDTAQ | Send to data queue | Single values: *NONE, *SAME Other values (up to 5 repetitions): Element list |
Optional |
Element 1: Data queue | Qualified object name | ||
Qualifier 1: Data queue | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
Element 2: Data queue key | Character value, *NONE, X'' |
Top |
Filter (FILTER)
Specifies the name of the filter.
This is a required parameter.
Qualifier 1: Filter
- name
- Specify the name of the filter.
Qualifier 2: Library
- *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.
- name
- Specify the name of the library where the filter is located.
Top |
Group (GROUP)
Specifies the group for which the actions are to be applied. The group name is assigned from selection criteria from a selection entry in the filter.
- *DEFAULT
- The default specified when the filter was created is used.
- name
- Specify a group name.
Top |
User assigned (ASNUSER)
Specifies the user assigned to the problem log entry.
- *SAME
- The value does not change.
- *NOCHG
- No change occurs to the problem log entry.
- *NONE
- No user is assigned to the problem log entry.
- simple-name
- Specify a user name.
Top |
Send to data queue (SNDDTAQ)
Specifies the data queue for the problem notification record. Keyed data queues are supported.
Single values
- *SAME
- The value does not change.
- *NONE
- No data queue is used.
Other values (up to 5 repetitions)
Element 1: Data queue
Qualifier 1: Data queue
- name
- Specify the name of the data queue.
Qualifier 2: Library
- *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 data queue. If no library is specified as the current library for the job, the QGPL library is used.
- name
- Specify the name of the library where the data queue is located.
Element 2: Data queue key
- *NONE
- No key is used on the data queue.
- character-value
- Specify the data queue key.
An 80-byte record is enqueued on the data queue specified by the user. This record is received when the QRCVDTAQ program is called. The data queue does not have to be used solely for problems; alerts and problems can share the same data queue.
If a key is specified, it is used when enqueueing the record on the queue. If the data queue is non-keyed, the record is enqueued without a key.
Note: The time stamp used is the system standard time stamp. This time is already stored in the problem record.
See the table in the SNDDTAQ parameter description for the Add Problem Action Entry (ADDPRBACNE) command for a description of the record format.
Top |
Examples
CHGPRBACNE FILTER(MYLIB/MYFILTER) GROUP(IOWA) ASNUSER(NIGHTOPR) SNDDTAQ(*SAME)
This command changes the actions for group IOWA. The assigned user is changed to NIGHTOPR.
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.
- CPF91DD
- Action entry for group &4 not found.
- CPF91DE
- Filter &1/&2 at maximum size.
- CPF91EB
- Filter type &3 not correct for this operation.
- CPF91EC
- Internal processing error occurred.
- 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 |