Sascommunity Tips RSS

From sasCommunity
Jump to: navigation, search

<newsfeed limit="1" notalk nominor postfix prefix permalink>

sasCommunity Tip of the Day

You can read files from web sites directly into your SAS programs by using the URL access method on the FILENAME statement.

filename seercode URL "http://www.seer.cancer.gov/siterecode/icdo3_d01272003/index.txt";

data siterecode;
    infile seercode truncover;
    input @1 bigline $char256.;
run;

Oh, and you can also read a web site's HTML pages as if they, themselves, were data files... should you ever have the urge to do so.

Submitted by Michael A. Raithel, The man who wrote the book on performance.. Contact me at my Discussion Page.



Feel free to comment on this tip.


Prior tip - Next tip -- Random Tip

Submit a Tip


Visit sasCommunity.org to view or sumbit more Tips </newsfeed>