Restructuring data based on the linefeed character

ASCII data can contain linefeed characters (X'0A'). If the data has been uploaded from another computing platform, the data may not be correctly structured based on the linefeed characters.

To restructure the data based on the linefeed character, issue the command LF.
Note:
  1. There is no reverse process for restructuring the data based on the linefeed character. Consequently, once you have saved the data after an LF command the change is permanent.
  2. Do not enter the LF command more than once against the same file as blanks following linefeed characters are interpreted as the leading data of the next record.
  3. The ASCII editing facility uses MVS™ Conversion Services to translate the data between ASCII (CCSID 819) and the CCSID supported by the terminal. It is a requirement that MVS Conversion Services be installed and the required translations specified to it, in order for the ASCII editing facility to be operable.

When using the ASCII edit facility for a z/OS® UNIX file, the LF primary command is not available as the editor automatically restructures the data based on the linefeed character.