Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
This set of related functions also has corresponding VnameX functions (VFORMATX, VFORMATNX, etc.) They all return information concerning formats.
| Function: | VFORMAT |
|---|---|
| Purpose: | To return the format name associated with a variable. The name includes the $ if the format is associated with a character variable, and the width, if included. For numeric variables, the name also includes the value to the right of the decimal point. For example, possible returned values are $CHAR15 and DOLLAR8 . 2. |
| Syntax: | VFORMAT (variable) |
| variable is a SAS variable name. |