Google SAS Search

Add to Google

Thursday, July 20, 2006

MOD For Append

Well, it's been a while since the last post. And I don't really have a good excuse other than life sometimes gets busy. But anyways, if anyone is still reading or happens to stumble by, here is another little SAS tip for you:

An easy (and fast!) way to APPEND to a text file is to use the MOD option on the file statement.

Such as:

data _null_;
file outFile MOD;
put 'new stuff being added to the end of the file';
run;

5 comments:

  1. Good to see you back and good tip.

    ReplyDelete
  2. Just what I was looking for. Thanks.

    ReplyDelete
  3. Great tip thanks just what the doctor ordered ....

    ReplyDelete
  4. I am just a beginner,but love ur tip.Big thanks.

    ReplyDelete