COBOL Command-Line Options

The following table describes the COBOL command-line options. To use legacy COBOL translation, see Legacy COBOL Translation Command-Line Options.

COBOL Option Description

-copydirs <dirs>

Specifies one or more semicolon-separated directories where Fortify Static Code Analyzer looks for copybook files.

Equivalent Property Name:
com.fortify.sca.CobolCopyDirs

-dialect <dialect>

Specifies the COBOL dialect. The valid values for <dialect> are COBOL390 and MICROFOCUS. The dialect value is case insensitive. The default value is COBOL390.

Equivalent Property Name:
com.fortify.sca.CobolDialect

-checker-directives <directives>

Specifies one or more semicolon-separated COBOL checker directives.

Note: This option is intended for advanced users of Micro Focus Server Express.

Equivalent property name:
com.fortify.sca.CobolCheckerDirectives