Attrib Sas. For a character variable. You can use ATTRIB in a PROC step but the rules are different.
Provides comprehensive reference information for the Base SAS language which is available in all operating environments that support SAS. 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. Node 1 of 23.
Labelvariable x1 length5 x2 length5 x3 labelvar x3 format4.
For a numeric variable and w. 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. You can use ATTRIB in a PROC step but the rules are different. You can use the FORMAT procedure to create your own format for a variable.
