#### ELF2NL

#### Synopsis

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

#### Description

The replacement of EBCDIC line feed control characters (0x25) by new line characters (0x15) at conversion to EBCDIC can be activated on non EBCDIC (ASCII) systems or deactivated on EBCDIC systems by enabling this switch. This is for example required to prepare text files on open platforms for USS on z/OS. The usual delimiter for text in ASCII and UTF is 0x0A and will normally be translated to 0x25 in EBCDIC. On z/OS(USS), however, 0x15 (NL) is expected.

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.

To ensure a correctly delimited text record, only a line feed and not a carriage return (0x0D) line feed (0x0A) is used. If text formatting is used with method=NL, this will result in a single LF on distributed systems and the internal conversion will be activated by default to produce a valid text file for z/OS under USS on Windows, Unix and other open platforms.

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