Problem:
The CHANGE-MESSAGE directive is used to hide or change the severity of an checker errorss or messages. This directive takes multiple options, so getting the right syntax can be tricky.
This directive replaces the HIDE-MESSAGE directive
Resolution:
There are 3 ways of setting this directive:
1.
cob command line:
-C "change-message(1146 N)"
2.
Create a cobol.dir file. The checker will check to see if there is a cobol.dir file in the current directory:
change-message"1146 N"
3. Use the $SET in the COBOL program - starting in column 7:
$SET CHANGE-MESSAGE(1146 N)
