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.
Format | Definition | Width range | Default width |
---|---|---|---|
Character | |||
$UPCASEw. | Converts character data to uppercase | 1–32767 | Length of variable or 8 |
$w. | Writes standard character data—default for character data | 1–32767 | Length of variable or 1 |
Date, Time, and Datetime[1] | |||
DATEw. | Writes SAS date values in form ddmonyy or ddmonyyyy | 5–9 | 7 |
DATETIMEw.d | Writes SAS datetime values in form ddmmmyy:hh:mm:ss.ss | 7–40 | 16 |
DTDATEw. | Writes SAS datetime values in form ddmonyy or ... |
Get The Little SAS® Book for Enterprise Guide® 4.1 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.