| Statements under z/OS |
| Valid: | in a DATA step |
| z/OS specifics: | length of numeric variables |
| See: | LENGTH Statement in SAS Language Reference: Dictionary |
| Syntax | |
| See Also |
Syntax |
| LENGTH variables <$> length . . . <DEFAULT=n>; |
Note: This syntax is a simplified version of the LENGTH
statement syntax; see
SAS Language Reference: Dictionary for the complete syntax and its explanation. ![[cautionend]](../../../../common/63294/HTML/default/images/cautend.gif)
can range from 2 to 8 for numeric variables and from 1 to 32,767 for character variables.
Note: The minimum value
for length for a numeric value might be greater
than 2 when you create a SAS data set that is written in a data representation
other than the native data representation for SAS on z/OS. ![[cautionend]](../../../../common/63294/HTML/default/images/cautend.gif)
changes from 8 to n the default number of bytes that SAS uses for storing the values of newly created numeric variables. Under z/OS, n can range from 2 to 8.
| See Also |
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.