BookmarkSubscribeRSS Feed
karthikeyan_S
Calcite | Level 5
How does a EG assign a pre assigned libraries .What is the command it uses?
1 REPLY 1
Patrick
Opal | Level 21
EG is a client and does nothing. It's in most cases the SAS Workspace server which assigns the library.

The command to assign the library is a normal libname statement.

Pre-assigned is a definition made in SAS Metadata. When you connect to a SAS Workspace server (that's connecting to a SAS Server, a session get's created on this SAS Workspace server (using the SAS Object Spawner)) the SAS Metadata is read and the libnames for all pre-assigned libraries get executed. - Have a look at the properties of the library in SAS EG - there you can see the libname statement which was used.

Other ways of having pre-assigned libraries are:
- Library is assigned via SAS/Share
- Library statement is part of the SAS autoexec which gets executed while the SAS session on the SAS Workspace server gets created.

HTH
Patrick

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1053 views
  • 0 likes
  • 2 in conversation