CAST Engineering Dashboard - Violations - False Violation - Mainframe - COBOL - Each opened file must be closed

Purpose

Object is not (or is wrongly) detected as a violation of this QR.

Applicable in CAST Version

ReleaseYes/No
8.3.x

Applicable RDBMS

RDBMSYes/No
CSS

Action Plan

  1. Check the analysis configuration to see if the default option “Read Terminal Format” is set to true. If yes, then it will trigger false violation for this particular diag.
  2. Check the option “end column no comment” In order to avoid getting such violations. It allows the source code to be located after column 72

By default this option is unselected, however, when selected, the analyzer/reference finder will assume that all information included beyond column 72 is code and will process it when the job is run.

When unselected, information placed beyond column 72 is not handled by the analyzer/reference finder and will result in false violation.

Notes/comments

Related Pages

CAST Engineering Dashboard - Violations - False violation or no violation