COBOL properties

The properties for the fortify-sca.properties file in the following table apply to the translation of COBOL code.

Property name Description
com.fortify.sca.CobolCopyDirs 

Specifies one or more semicolon- or colon-separated directories where OpenText SAST looks for copybook files.

Value type: String (path)

Default: (none)

Command-line option: -copydirs

com.fortify.sca.CobolDialect 

Specifies the COBOL dialect. The valid values for dialect are COBOL390 or MICROFOCUS. The dialect value is case-insensitive.

Value type: String

Default: COBOL390

Command-line option: -dialect

com.fortify.sca.CobolCheckerDirectives 

Specifies one or more semicolon-separated COBOL checker directives.

Value type: String

Default: (none)

Command-line option: -checker-directives

com.fortify.sca.CobolLegacy 

If set to true, enables legacy COBOL translation.

Value type: Boolean

Default: false

Command-line option: -cobol-legacy

com.fortify.sca.CobolFixedFormat 

If set to true, specifies fixed-format COBOL to direct OpenText SAST to only look for source code between columns 8-72 in all lines of code (legacy COBOL translation only).

Value type: Boolean

Default: false

Command-line option: -fixed-format

com.fortify.sca.CobolCopyExtensions 

Specifies one or more semicolon- or colon-separated copybook file extensions (legacy COBOL translation only).

Value type: String

Default: (none)

Command-line option: -copy-extensions

Translating COBOL Code