I have my SAS Metadata Server username and password.
In Enterprise Guide, I can access the libraries on this server.
Now, how do I get access to these same libraries on this server in BASE SAS?
I don't want to use Enterprise Guide.
I am using SAS 9.3 on a work computer.
Many thanks.
Talk to your SAS administrator, he/she will guide you if your request is approved.
Your library is most likely preassigned from the metadata and the libname statement code is not obvious. But you can get it by using the meta engine:
options metaserver=... metaport=... metauser=... metapass=... metarepository=...;
libname mylib meta library="<whatever the library is called in metadata>" ;
Make sure you have all the META options in place. I advise to code the password as at least a {sas002} hash. See proc pwencode.
As a bonus, you will find the actual libname statement syntax in the log if you add the LIBDEBUG option. The library will be allocated if you match the metadata security so you can go right ahead and use it.
Hope this helps,
- Jan.
Hi jklaverstijn
Thanks so much for this. I've filled all the meta options except METAREPOSITORY. I don't know how to identify that, still searching. Any suggestions would be great!
Thanks again.
The repository is rarely different from Foundation:
options metarepository='Foundation';
When in doubt you should consult your SAS administrator or, if available to you, have a look in SAS Management Console.
Reg's Jan.
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.