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

From sasCommunity
Revision as of 14:42, 19 May 2017 by Paulkaefer (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

sasCommunity Tip of the Day

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.


Submitted By Howles



Feel free to comment on this tip.


Prior tip - Next tip -- Random Tip

Submit a Tip


 

Tips Index by Status

Currently in Use | Yet to be Scheduled | Still Under Review | Tip Awaiting Refinement

Search Tips:


The Tip of the Day Project

A new technical Tip of the Day related to SAS software will be shown on this page and the sasCommunity.org main page every day. Before getting started, you can Browse and Search the current list of tips contributed by users.

Anyone can participate. We hope you do! Here's how:

  1. Submit a Tip by posting a SAS tip that you think others might find useful
  2. Review a Tip prior to publishing
This effort is similar to, and was motivated by, the Wikipedia Tip of the Day Project. Please tell us what you think