As the first step in the decommissioning of the site has been converted to read-only mode.

Here are some tips for How to share your SAS knowledge with your professional network.

FORMAT statement

From sasCommunity
Jump to: navigation, search
This is a work in progress. Please contribute to this article.

The FORMAT statement can be used to assign a format to one or more variables in a DATA Step.



A format is used to describe how SAS represents or displays a value stored in variable. Formats do not alter the value that a variable holds, but can affect how the value is presented when it is displayed, converted to text or listed in a report. The same variable value can be represented in different ways by using different formats.

It is possible to create user defined formats by using the FORMAT procedure.

See also

Further reading