MAXERROR

We have a Visual COBOL 2.2 program with more than 100 warnings. Visual Studio is reporting 100 warnings then giving the "Too many errors" error (COBH0090). This is related to the MAXERROR compiler directive. The documentation says that the default setting for this compiler directive is NOMAX-ERROR, which would make me think we should never receive this error and should be able to see 101 errors. This is not the case unless we explicitly set the NO-MAXERROR compiler directive. Is there somewhere we are accidentally setting the MAXERROR directive? Or is it possible the Visual COBOL 2.2 default is not what the documentation says? In case it's important, the only compiler directive we are using is CHECKNUM and it is being set in the program using $SET.

Parents
  • Verified Answer

    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.

Reply
  • Verified Answer

    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.

Children
No Data