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...
Wednesday, January 20, 2010
Disclaimer
SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
Other brand and product names are trademarks of their respective companies.
This blog is not responsible for any kind of copyright violation. This blog just collects the links hosted or posted by other servers/people/search engines.The creator of this page or the ISP(s) hosting any content on this site take no responsibility for the way you use the information provided on this site.If anybody has any copyright claim on it and doesn’t wish the information provided to be shown on our site, please do respond to this email. We shall remove them off immediately. Any inconvenience is regretted. Please do mention your exact grievance/problems with respect to certain third party links. We assure you that appropriate action will be taken off. Thank you
SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
Other brand and product names are trademarks of their respective companies.
This blog is not responsible for any kind of copyright violation. This blog just collects the links hosted or posted by other servers/people/search engines.The creator of this page or the ISP(s) hosting any content on this site take no responsibility for the way you use the information provided on this site.If anybody has any copyright claim on it and doesn’t wish the information provided to be shown on our site, please do respond to this email. We shall remove them off immediately. Any inconvenience is regretted. Please do mention your exact grievance/problems with respect to certain third party links. We assure you that appropriate action will be taken off. Thank you
1 comment:
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....
eg..
proc print data=cool;
var var1;
label var1='Column 1';
run;
would give the column name as 'Var1' and NOT 'Column1'
Post a Comment