Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This feature allows the user to identify which messages to be sent to a specific message queue when BRMS adds the message to the BRMS log (DSPLOGBRM).

To view the current settings:

CALL QBRM/Q1AOLD PARM('LOGMSGEXT ' '*DISPLAY')

To set the message queue:

CALL QBRM/Q1AOLD PARM('LOGMSGEXT ' '*MSGQ' 'libname' 'objname')

...

CALL QBRM/Q1AOLD PARM('LOGMSGEXT ' '*MSGQ' 'QSYS' 'QSYSOPR')

To insert a rule:

CALL QBRM/Q1AOLD PARM('LOGMSGEXT ' '*INSERT' 'xxx' 'yyyy' 'zzzzzzz')

...

xxx - position (1, 2, 35, etc) to insert the rule
yyyy - *INC include the message, *EXC exclude the message
zzzzzzz - message ID, generic message ID or *ALL to be included or excluded

To replace a rule:

CALL QBRM/Q1AOLD PARM('LOGMSGEXT ' '*REPLACE' 'xxx' 'yyyy' 'zzzzzzz')

...

xxx - position (1, 2, 35, etc) to insert the rule
yyyy - *INC include the message, *EXC exclude the message
zzzzzzz - message ID, generic message ID or *ALL to be included or excluded

To remove a rule:

CALL QBRM/Q1AOLD PARM('LOGMSGEXT ' '*REMOVE' 'xxx')

...

xxx - position (1, 2, 35, etc) to insert the rule

To clear all rules:

CALL QBRM/Q1AOLD PARM('LOGMSGEXT ' '*CLEAR')

...