O'Reilly logo

The Little SAS® Book for Enterprise Guide® 4.1 by Lora D. Delwiche, Susan J. Slaughter

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

1.10. Selected Standard Formats

SAS formats (also called display formats) tell SAS Enterprise Guide how to display or print data. You can apply formats in the column Properties window of a Data Grid, in the Properties window within a task, or in a query. Here are a few of the many formats available in SAS Enterprise Guide.

FormatDefinitionWidth rangeDefault width
Character
$UPCASEw.Converts character data to uppercase1–32767Length of variable or 8
$w.Writes standard character data—default for character data1–32767Length of variable or 1
Date, Time, and Datetime[1]
DATEw.Writes SAS date values in form ddmonyy or ddmonyyyy5–97
DATETIMEw.dWrites SAS datetime values in form ddmmmyy:hh:mm:ss.ss7–4016
DTDATEw.Writes SAS datetime values in form ddmonyy or ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required