What happens when the LABEL option is omitted in a PROC PRINT step?
a) The variable name is used as label even when the label is available
b) LABEL statements are not permitted in the PROC PRINT step as a result
c) SAS uses the variable label as a column heading if it is not available
d) LABEL statements can still be coded legally in the PROC PRINT step but without effect.
Check the comments for answers...
When the label option is NOT specified... Label statements can still be coded legally in the PROC PRINT step but will have no effect to the Listing....
ReplyDeleteeg..
proc print data=cool;
var var1;
label var1='Column 1';
run;
would give the column name as 'Var1' and NOT 'Column1'