Using Dates as break variables

Under some circumstances, date values used as break variables may display as asterisks in the output because there is not enough space to display the date value. There are several options for dealing this situation:

  • Decrease the offset value of the date variable on the BREAK subcommand. The default offset for dates is 4. Try using an offset of 2 or 0. For example: DateVar (OFFSET(0)).
  • Include a width specification for the date variable on the BREAK subcommand. The value should be at greater than or equal to the defined width of the variable plus the offset value. For example, with a defined variable width of 10 and the default offset of 4, specify a width of 14, as in: DateVar (14).
  • Use the FORMATS command to increase the defined width of the date variable. For example, if the defined width is 10, increase it to 14, as in: FORMATS DateVar (Date14). See the topic FORMATS for more information.