Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The PARSE-AS-FIXED-LENGTH directive parses a column as a fixed length record with widths for each field specified.

Syntax

Code Block
parse-as-fixed-length :column width[,width]* ['padding']

Usage Notes

Fixed-width text files are special cases of text files where the format is specified by column widths, pad characters, and left or right alignment. Column widths are measured in units of characters.

...

If not defined, the padding character is assumed to be a space character.

Example

Using this record as an example:

...