Chapter Contents

Previous

Next
ATTRIB

ATTRIB



Associates a format, informat, label, and length with one or more variables

Valid: in a DATA step
Windows specifics: length specification


Syntax
Details
See Also

Syntax

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

Note:   Following is a simplified explanation of the ATTRIB statement syntax. For the complete syntax and its explanation, see the ATTRIB statement in SAS Language Reference: Dictionary.  [cautionend]

attribute-list

LENGTH=<$>length
specifies the length of the variables in variable-list. Under Windows, the length you can specify for a numeric variable ranges from 3 to 8 bytes.


Details

Using the ATTRIB statement in the DATA step permanently associates attributes with variables by changing the descriptor information of the SAS data set that contains the variables.

See Also


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.