As the first step in the decommissioning of sasCommunity.org the site has been converted to read-only mode.


Here are some tips for How to share your SAS knowledge with your professional network.


Tip of the Day:May 14

From sasCommunity
Jump to: navigation, search

sasCommunity Tip of the Day

When reading numeric data that may contain invalid values, the (??) can be used to not only suppress the error messages in the LOG, but to also reset the _ERROR_ variable to zero. When there are lots of invalid values, this allows the data set to still be created without producing lots of error messages in the log.

 data base;
 input age ?? name $;
 datalines;
 15   Fred
 14   Sally
 x    John
 run;


Submitted by Art Carpenter. Contact me at my Discussion Page.



Feel free to comment on this tip.


Prior tip - Next tip - Random Tip

Submit a Tip