ENL2LF

Synopsis

HELP:   Replace EBCDIC new line (0x15) by line feed (0x25) on input
TYPE:   SWITCH
SYNTAX: ENL2LF

Description

This option only has an effect if the input CCSID is an EDCDIC charset. If enabled on ASCII systems, EBCDIC new line control characters (0x15) will be replaced by line feed characters (0x25) when character conversion takes place. When converting from an EBCDIC to a single-byte ASCII charset, then this option is enabled on EBCDIC system and can be disabled over this switch. This is required because a standard conform conversion converts 0x15 (EBCDIC NL) to 0x85 (ISO-8859-1/Latin-1) instead of 0x0A. When converting to a UTF charset, 0x15 gets converted to 0xC285 (NEL) by default. Enabling this internal option will result in line feeds (0x0A) instead.

For the normal transfer of text data between ASCII and EBCDIC systems the internal adjustment of the translation table is done by FLAM automatically. This means that normally you don't need to activate this switch, only in exceptional situations this option can be useful to achieve the opposite of the expected behavior.

This conversion is pre-calculated once at beginning of execution to reduce the required CPU time for the conversion.