Date: Wed, 27 May 2009 15:14:01 -0500
Reply-To: Joe Matise <snoopy369@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Joe Matise <snoopy369@GMAIL.COM>
Subject: Re: Is there anyways to save WORK dataset
Content-Type: text/plain; charset=ISO-8859-1
Assuming you want this to be a temporary thing, if you assign the USER
libref to a directory, one-level referenced datasets will be stored there,
instead of in a temporary 'WORK' location. However, if you use
WORK.(dsetname), it will not change, and will still be temporarily assigned.
Put this in a file:
libname user 'c:\test\';
and then submit that via batch... you should find c:\test\ contains
I think there are system options that control whether the work directory is
deleted on close, but i'm not sure how good of an idea it is to play with
On Wed, May 27, 2009 at 2:58 PM, Abc Unha <email@example.com> wrote:
> I am running SAS in batch mode. It has hundreds of dataset that is writing
> into work directory. At the end it creates one dataset that will be
> written in permanent libaray.
> I need to debug some steps and I was wondering If there is a way to
> permanently store work datasets?