Desktop productivity for business analysts and programmers

Assigning a library in Enterprise guide

Reply
Occasional Contributor
Posts: 6

Assigning a library in Enterprise guide

I use the base SAS quite well but I'm taking the lessons on SAS Enterprise guide. I am at the stage when I have to assign a libary for my work and apparently I can't find that option on the "tools" drop down menu. I am not sure why and will really appreciate any help I can get at this point.

Occasional Contributor
Posts: 11

Re: Assigning a library in Enterprise guide

To insert a libname statement, open a code node and type the libname statement into the code node.  Make certain in the logic stream that the code node runs before you try to pull data from your library.

Frequent Contributor
Posts: 91

Re: Assigning a library in Enterprise guide

You can also use the 'Assign Project Library' task under the Tools category in the Task List.

Super Contributor
Posts: 307

Re: Assigning a library in Enterprise guide

Adding to curlerbob and nrose's comment, here is an alternate routes to assign a library:

Tools --> SAS Enterprise Guide Explorer --> File --> New --> Library

Occasional Contributor
Posts: 6

Re: Assigning a library in Enterprise guide

Thanks guys, I got the solution courtesy of your replies. Thanks!

Super User
Posts: 1,228

Re: Assigning a library in Enterprise guide

Hi ,

I thought I would ask whether your solution was to write a libname statement in the end? As depending on your syntax you may not be using a metadata library which could be inconsistent to the physical tables available in your environment.

If you do not see the Assign Project Library task this could be due to the capability not being available to you via the Roles your profile has been assign too (either directly or via Group membership). Talking to your SAS Administrator and using the SAS Management Console you can see what Enterprise Guide Role your profile has been assigned. If you have an "Enterprise Guide: Advanced" role then the Assign Project Library task is available however the "Enterprise Guide: Analysis" role isn't by default - see screenshot below (click on it for higher resolution) and documentation at http://support.sas.com/documentation/cdl/en/bidaag/67020/HTML/default/viewer.htm#p1vdc5gy9i5q1bn19gb...

AssignProjectLibrary-Capability.png

Kind Regards,

Michelle

Super Contributor
Posts: 387

Re: Assigning a library in Enterprise guide

BTW if your role memberships only provide you with access to a subset of the SAS Enterprise Guide capabilities, then you'll see an indication of this on the status bar. If you see "Functions: Restricted" on the status bar in the bottom left hand corner of the SAS Enterprise Guide window then you have a limited set of capabilities. You can click on the link to open a dialog and see which capabilities you do and don't have. If you don't see "Functions: Restricted" on the status bar then it means you have every capability available in SAS Enterprise Guide.

Super Contributor
Posts: 387

Re: Assigning a library in Enterprise guide

Oops, I got my left and right mixed up again. The "Functions: Restricted" indicator, when displayed, will be seen in the bottom right hand corner.

Occasional Contributor
Posts: 6

Re: Assigning a library in Enterprise guide

Thanks Michelle I guess I'll talk to a SAS administrator because I am using the SAS Enterprise Guide OnDemand for Academics. I assume perhaps the functions are restricted, I am quite surprised though as this is needed for the SAS training which is being encouraged by SAS itself. I can't use the other options suggested since it seems also those are not available on the Enterprise guide I am using.

Ask a Question
Discussion stats
  • 8 replies
  • 867 views
  • 1 like
  • 6 in conversation