SAS ENTERPRISE GUIDE - Code

May I know what I am missing, I am getting errors as per below, [after code]

data TestFullfilment;
       merge      mkMaster._membship_info_ (in = a)
                  mkMaster._members_info_ (in = b)
                  mkMaster._contact_info_ (in = c) ;
                  by membship_id ;
                  if a= 1 and b = 1 and c = 1 ;
                  if membship_id = "50098850";
run ;

ERROR: Libname MKMASTER is not assigned.
ERROR: Libname MKMASTER is not assigned.
ERROR: Libname MKMASTER is not assigned.

HOW DO i ASSIGN THE LIBRARY ? IT IS ON SERVER.
THANKS,
premkripalaniAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Aloysius LowCommented:
do you know the physical location on the server the library mkmaster is supposed to point to?

you can do library assignment by using the following code:
libname mkmaster "[full path to physical location]";

e.g. for windows, if the datasets where mkmaster refers to resides in D:\data\mydata/, then the code would look like: libname mkmaster "D:\data\mydata";
for unix/aix/solaris, if the datasets where mkmaster refers to resides in /data/mydata/, then the code would look like: libname mkmaster "/data/mydata/";

however one thing to note is this way of doing things will override whatever security your sas administrator may have set for the library/tables in the library, so if there's a metadata server involved, it is not the best way to do things. rather, the sas administrator should define the library in the management console.
0
premkripalaniAuthor Commented:
hi,
my library is in the SAS folders.
for example, if I want to open the mkMaster._membship_info_ table, I follow this steps
Look in : SAS Folders, ABC LTD, Librraries,Production1, mkMaster

May I know, what should be the code to assign the library.
thanks
0
Aloysius LowCommented:
can you do a screenshot or something? i believe you are using EG4.2 right? sorry, i'm not using EG4.2, so i'm not too sure here

from your description, it seems like you are using a folder path which is already starts from a certain location on the server, sort of a logical start point. if this is the case, it's quite difficult to help. what I can say is that your libname statement should look like:
libname mkmaster "[path to SAS Folders]/ABC LTD/Libraries/Production1/mkMaster";
Again, the direction of the slash depends on your server.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
premkripalaniAuthor Commented:
all good,
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Databases

From novice to tech pro — start learning today.