Desktop productivity for business analysts and programmers

Create a permanent Library

Reply
N/A
Posts: 0

Create a permanent Library

Hi,
I am trying to create a permanent library in SAS Enterprise guide. I'm using EG 4.3. When I go to Tools, Enterprise Guide Explorer, File, New, it won't let me click on Library. I am not running on any server. SAS is installed on my desktop. I can create a temporary library using Tools, Assign Project Library, but i would like to create a permanent library.

Any help is greatly appreciated!
Thank you!
N/A
Posts: 0

Re: Create a permanent Library

I want to add that I would like to be able to do this without writing any code.
Contributor
Posts: 38

Re: Create a permanent Library

I have to preface this with "I am new to EG". With anykind of permanent library is created in SAS Management Console. This is where the MetaData is stored, then in your stored process or program you would reference the meta lib with:

LIBNAME LocalLib METALIBRARY='xxxxxxxx';

where xxxxxxxx is the name of the library you created in SAS Management Console.

I hope this helps...
N/A
Posts: 0

Re: Create a permanent Library

How would I access the Management Console?
Contributor
Posts: 38

Re: Create a permanent Library

"START" +==> "All Programs" +==> SAS

you might also be able to do this with proc metadata... Do you have anyone to help you locally?
Valued Guide
Posts: 2,111

Re: Create a permanent Library

ILGator,

You may not have the Management Console available to you.

If you want to create a library that is available to you each time you enter a project and automatically appears when you run the project, then see Chris@sas's blog entry
http://blogs.sas.com/sasdummy/index.php?/archives/237-You-asked-for-it-the-Autoexec-process-flow.htm...

That's about as close as I can get to 'permanent' on my local PC SAS installation.

Doc Muhlbaier
Duke
Super Contributor
Super Contributor
Posts: 365

Re: Create a permanent Library

Hello ILGator,

Why are you against code so much? It is very simple indeed. Suppose, a folder of a permanent library you would like to create is C:\SASLIB\My. Then you have to write this simple code:

libname MyLib 'C:\SASLIB\My';

"MyLib" is a name of your permanent library to use in SAS (of course, you can put any name instead).

Sincerely,
SPR
Ask a Question
Discussion stats
  • 6 replies
  • 5780 views
  • 0 likes
  • 4 in conversation