I know I can use Library Wizard to create library and tick on 'Enable at start up' option to make the library permenant.
But how do I do it with LIBNAME statement?
libname mydata 'C:\Libraries\Documents';
/*this creates a reference to the documents folder*/
data mydata.one;
set two;
run;
/*this will create a permanent data set named one into the destination determined by the libname statement.*/
Yes, it sure does make permanent dataset BUT it does not make permanent library. mydata, the library, will disappear if I quit SAS session and rerun it.
Take a look at: http://support.sas.com/documentation/cdl/en/hostwin/63285/HTML/default/viewer.htm#usedatalibs.htm
particularly the paragraph labeled: Making Librefs Available When SAS Starts
So only way is to use library wizard. No options available in LIBNAME statement to do the same thing?
I do what Linlin posted. If you're running SAS 9.3 the directory is a little different: C:\Program Files\SASHome\SASFoundation\9.3
I think it's just a manual way of doing what library wizard with 'enable at start up' option does .
This is how I make "permanent" library:
libname mydata 'C:\Libraries\Documents';
save the sas code as "autoexec.sas" in directory
"C:\Program Files\SAS\SASFoundation\9.2"
Lin, using similar methods you mentioned can I make the Notepad to have the first line look like;
----+----1----+----2----+----3----+----4----+----5----+
So that if I open a text file with some data with Notepad, the first line will look like above, and whatever is contained in the text file will start from the second line?
Somehow I think you've got your threads mixed up. However, in answer to your question, just use Wordpad rather than Notepad and make courier or new courier the default font. Wordpad has a built-in ruler.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.
Select SAS Training centers are offering in-person courses. View upcoming courses for: