Return to Archive

SAS Tip of the Month
February 2003

When creating a variable it is important to tell SAS what the variable type, length and optionally what its label is and any formats applied to it. The ATTRIB statement is useful for doing this although a combination of the LENGTH, LABEL, FORMAT and INFORMAT statements is also okay.

Updated February 18, 2003