ATTRIB Statement: UNIX

Associates a format, informat, label, or length with one or more variables.
Valid in: in a DATA step
UNIX specifics: length specification
See: ATTRIB Statement in SAS Statements: Reference

Syntax

ATTRIB variable-list-1 attribute-list-1 <...variable-list-n attribute-list-n> ;

Required Argument

attribute-list
LENGTH=<$>length
specifies the length of the variables in variable-list. The minimum length that you can specify for a numeric variable depends on the floating-point format used by your system. Because most systems use the IEEE floating-point format, the minimum is 3 bytes.

Details

Note: The explanation of the ATTRIB statement syntax is a simplified form. For complete syntax and description, see the ATTRIB Statement in SAS Statements: Reference.