Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Add Problem Action Entry (ADDPRBACNE) command adds an entry to the specified problem filter. This entry describes the actions to take for a problem entry. A problem entry is assigned to the specified group by a selection entry in the specified problem filter.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
FILTER | Filter | Qualified object name | Required, Positional 1 |
Qualifier 1: Filter | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
GROUP | Group | Name | Required, Positional 2 |
ASNUSER | User assigned | Simple name, *NOCHG, *NONE | Optional |
SNDDTAQ | Send to data queue | Single values: *NONE 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 |
Specifies the name of the filter.
This is a required parameter.
The possible library values are:
Top |
Specifies the group for which the actions are applied. The group name is assigned from selection criteria from a selection entry in the filter. Selection entries are added to the filter with the ADDPRBSLTE command.
This is a required parameter.
Top |
Specifies the user assigned to the problem log entry.
Top |
Specifies the data queue for the problem notification record. Keyed data queues are supported.
The possible Data Queue Name values are:
The possible Data Queue Key values are:
NOTES:
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.
Record Format
Position Type Value Description -------- ---- ------------- -------------------------------- 1-10 CHAR *PRBFTR Problem filtering notification 11-11 CHAR Function Function performed 1 - Problem created 2 - Problem changed 3 - Problem deleted 12-19 CHAR Function TOD TOD time stamp for function 20-29 CHAR Group Group problem was filtered into 30-39 CHAR Problem ID Problem ID number 40-59 CHAR Origin System System where problem originated 60-60 CHAR Last Event Last event committed into the history log (see note) 61-68 CHAR Event TOD TOD time stamp for Last Event 69-80 CHAR Reserved Reserved for future use
Note: Valid Last Event values are the following:
'01'X Problem entry opened '02'X Request received '03'X Opened by Alert '10'X Problem analyzed '11'X Verification test ran '12'X Recovery procedure ran '20'X Prepared to report '21'X Service request sent '22'X Problem answered '23'X Response sent '24'X Reported by voice '25'X Fixes transmitted '30'X Fix verified '41'X Analyzed remotely '42'X Remote verification ran '43'X Remote recovery ran '50'X Alert created '51'X APAR created '52'X APAR data saved '54'X APAR data restored '55'X APAR data deleted '60'X Problem changed by Change Problem (CHGPRB) command '61'X Problem deleted by Delete Problem (DLTPRB) command '99'X Problem entry closed
Top |
ADDPRBACNE FILTER(MYLIB/MYFILTER) GROUP(IOWA) ASNUSER(SYSOPR)) SNDDTAQ(*LIBL/PROBDTAQ)
The actions defined for group IOWA are: enqueue the problem on data queue PROBDTAQ; and assign the problem to user SYSOPR.
Top |
*ESCAPE Messages
Top |