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 OpenText SAST looks for copybook files.

This option does not accept wildcards.

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.

This option is intended for advanced users of OpenText™ Server Express.

Equivalent property name:
com.fortify.sca.CobolCheckerDirectives