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.


Tips:Read Files From Web Sites Into Your SAS Program

From sasCommunity
Jump to: navigation, search

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.

....see also