Column-Style Format Specifications (DATA LIST command)

The following rules apply to column-style formats:

  • Data must be in a fixed format.
  • Column locations must be specified after variable names. The width of a variable is determined by the number of specified columns. See the topic Fixed-Format Data (DATA LIST command) for more information.
  • Following the column location, specify the format type in parentheses. The format type applies only to the variable or the list of variables associated with the column location specification immediately before it. If no format type is specified, numeric (F) format is used.
  • To include decimal positions in the format, specify the format type followed by a comma and the number of decimal positions. For example, (DOLLAR) specifies only whole dollar amounts, and (DOLLAR,2) specifies DOLLAR format with two decimal positions.
  • Since column positions are explicitly specified, the variables can be named in any order.