Helps for Bancova Training


Picture of John Zhang
by John Zhang - Tuesday, 6 October 2015, 10:09 AM

Some one asked:


The answer:

There are two ways to do so:

1) you save your data in a permanent library using
libname statement.

2) You can also find the temporary folder where work is located with the
following statement:

%put %sysfunc(getoption(work));

then you can use system command to move the files into a permanent location.

1) is commonly used.
2) is rarely used.  It seems to take an "unnecessary" lengthy road.  However
, when you want to use system commands that are outside of SAS session, 2)
can be a power user's approach.

But remember the temporary folder is really "TEMPORARY", you can see the
following two locations run on two SAS sessions: