CARRIAGE-CONTROL-FILTER directive

The CARRIAGE-CONTROL-FILTER directive allows carriage control characters to be retained when AcuXDBC reads a LINE SEQUENTIAL data file. This works the same as the CARRIAGE_CONTROL_FILTER configuration variable. See CARRIAGE_CONTROL_FILTER for accepted values and descriptions.

Syntax

CARRIAGE-CONTROL-FILTER=value

Default

CARRIAGE-CONTROL-FILTER=0

Usage

CARRIAGE-CONTROL-FILTER is optional.

When set, it must appear on the line immediately preceding the FD in the FILE SECTION of a COBOL program.

Example

 FILE SECTION.
$ XFD CARRIAGE-CONTROL-FILTER=2
 FD my-file
 .
 .
 .