﻿--  category:  IBM i Services for BRMS
--  description:  Application - BRMS Log Omits
--  minvrm: V7R3M0
--  last updated: 3/14/2023

--
-- Report the message identifiers that are set up to be omitted from the BRM Log
--
SELECT MESSAGE_ID
    FROM QUSRBRM.BRMS_LOG_OMITS;

--
-- Example: Omit a single message BRM1049 from the BRM log
--
CALL QUSRBRM.ADD_BRMS_LOG_OMIT('BRM1049');

--
-- Example: Omit 5 additional messages, CPF0001, MCH0001, BRM0001, CPF9898 and MCH3601 from the BRM log
--
CALL QUSRBRM.ADD_BRMS_LOG_OMIT('CFP0001 MCH0001 BRM0001 CPF9898 MCH3601');

--
-- Example: Remove a single message BRM1049 from omit of the BRM log
--
CALL QUSRBRM.REMOVE_BRMS_LOG_OMIT('BRM1049');

--
-- Example: Remove 5 additional messages, CPF0001, MCH0001, BRM0001, CPF9898 and MCH3601 from omit of the BRM log
--
CALL QUSRBRM.REMOVE_BRMS_LOG_OMIT('CFP0001 MCH0001 BRM0001 CPF9898 MCH3601');

