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:SAS can manage your temporary external files

From sasCommunity
Jump to: navigation, search
filename tmpfile temp;
 
data _null_;
    file tmpfile;
    put 'this is a test';
run;
 
data _null_;
    infile tmpfile;
    input;
    put _infile_;
run;

Scenario: You need to create an external file which will only be needed for the duration of the job or session. Don't hard-code an address in the host file system. Instead, use TEMP as your device type and let SAS transparently (1) find "parking space" in the host file system and (2) delete the file at the end of the job/session. Another advantage: This approach is platform-independent.

....see also


Submitted By Howles