Programming example of filtering error messages

As an example, step 1 should be to filter the warning ID 20048 and step 2 the filter should be extended by an additional test.

This is a warning in the channel; then define the following parameters:

Programing Example

prg_example

Filtering a single error message

error_filter[0].reason 20048 (P-CHAN-00378)

(HIDE - no message output)

error_filter[0].conditional_action HIDE (P-CHAN-00381)

These settings suppress the output of the warning ID 20048.

In order to use this filter for multiple messages, such as IDs 20048, 20622 and 2169, the line would have to be extended as follows:

error_filter[0].reason 20048, 20622 , 21691

A maximum of 5 error IDs can be assigned in a filter.

Programing Example

prg_example

Changing specific warnings for errors

error_filter[0].reason 20048 (P-CHAN-00378)

error_filter[0].action NONE (P-CHAN-00379 no action)

(Action: output as syntax error)

error_filter[0].conditional_action F_SYNTAX (P-CHAN-00381)

These settings change the warning ID 20048 in the output into an error of recovery class 2.