Learning More

ATTRIB statement
Information about using the ATTRIB statement to assign or change a permanent format can be found in SAS Statements: Reference.
DATASETS procedure
To assign or change a variable to a permanent format see the DATASETS procedure in Managing SAS Libraries.
PUT and INPUT functions
The PUT and INPUT functions can be used for correcting two common errors in working with SAS dates: treating date values that contain letters or symbols as character variables, or storing dates written as numbers as ordinary numeric variables. Neither method enables you to use dates in calculations. For more information, see “PUT Statement” in SAS Statements: Reference and“INPUT Statement” in SAS Statements: Reference.
SAS date ...

Get Step-by-Step Programming with Base SAS 9.4 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.