The warning level and max warnings directives are set in Visual COBOL at the project level as options on the COBOL tab on the project properties page.
If you change the warning level from level W to level E then the warnings will not be shown or you can change the maximum allowed in the textbox provided.