BookmarkSubscribeRSS Feed
Georgia
Calcite | Level 5

Hi,

 

Is there a way to force a specific temporary library to appear for every sas session? Is it possible to have GRIDWORD appear as an option?

 

THanks

4 REPLIES 4
PaigeMiller
Diamond | Level 26

You can add a LIBNAME satement to your AUTOEXEC file and now the library will appear every time you launch SAS.

 

I don't know what GRIDWORD is.

--
Paige Miller
SASKiwi
PROC Star

Having the same library appear in each EG session seems to me to be a permanent library. What is it about this library that is "temporary"? Is this library just for your use and not for others? I also don't know what you mean by GRIDWORD.

ChrisHemedinger
Community Manager

The original poster probably meant GRIDWORK, which is a common temp library that appears in SAS Grid Computing sessions.  Maybe you want to simply guarantee that when you're not working in a grid session, your program can still rely on a GRIDWORK library?

 

If you want to assign such a library name yourself, you can do this by:

 

  • Creating an alias for WORK:
  • libname GRIDWORK (WORK);
  • Creating a new temporary library in any path:
  • libname GRIDWORK "c:\temp" ACCESS=TEMP;

You could add these statements in Tools->Options->SAS Programs, Submit SAS code when server is connected.

 

Chris

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!
jakarman
Barite | Level 11

The gridwork directory has special technical implementation. Ask your sasgrid implementators..

Submitting Batch SAS Jobs to the Grid.

---->-- ja karman --<-----

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
  • 4 replies
  • 1727 views
  • 0 likes
  • 5 in conversation