BookmarkSubscribeRSS Feed
deleted_user
Not applicable
We are using lev 1 for development and lev 2 for QA.(Both the levels are on the same server/ machine). I am having a sas libraray in both the environments pointing to different locations with same libref.
For eg: In Lev1: libname x 'D:\abc";
In Lev2: libname x 'D:\QA\abc";

This is creating a problem. When both the levs are up and running then both the librefs are pointing to the path 'D:\QA\abc".

This problem is valid if we have same libref pointing to different paths in the SAME environment. But here we have two diff environments. So is there a way we can avoid this?

(Currently we have changed the name of libref in lev2 - QA to avoid problems.)
3 REPLIES 3
LinusH
Tourmaline | Level 20
I don't understand how you have configured your two environments?
Where have you defined the search paths? How are your libnames assigned?
There should not be problem if done this right. In fact, having different search paths is one benefit of using different metadata levels.

/Linus
Data never sleeps
deleted_user
Not applicable
I have given the libname statements in the autoexec files.

For eg:
libname x 'D:\abc'; in autoexec file present in lev1 environment's application workspace server

libname x 'D:\qa\abc'; in autoexec file present in lev2 environment's application workspace server

Is it incorrect?
LinusH
Tourmaline | Level 20
Looks ok.
Be sure that the "Library is pre-assigned" check-box is marked for this library in both environments. And of corse that they are named X.
If this is still not working, attach a LOG.

/Linus
Data never sleeps

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 682 views
  • 0 likes
  • 2 in conversation