Help using Base SAS procedures

Reg: Library assignment

Reply
Occasional Contributor
Posts: 12

Reg: Library assignment

when i assign a share library this way :
libname R slibref=B server=__8551 sapw="sapw";

where R is share part and B is the base part of the share library.

i am getting the following error :

ERROR: Libname B is not assigned.
ERROR: Error in the LIBNAME statement.

but this library is already registered in the metadata through the SAS management console .Can u pls give me pointers on this .

Message was edited by: kaka Message was edited by: kaka
Super Contributor
Posts: 474

Re: Reg: Library assignment

Posted in reply to karthikeyan_S
Is your share/remote server running?
Is the library assigned remotely?

Cheers from Portugal.

Daniel Santos @ www.cgd.pt
Occasional Contributor
Posts: 12

Re: Reg: Library assignment

Posted in reply to DanielSantos
Yes My Share Server is running and I didnt understand the meaning of creating the library remotely .Can u pls elobrate it .
Super Contributor
Posts: 474

Re: Reg: Library assignment

Posted in reply to karthikeyan_S
OK.

Try to issue a DISPLAY LIBRARY _ALL_ with the OPERATE procedure, and check if the desired library is assigned at the server.

Check the online doc for the OPERATE procedure:
http://support.sas.com/documentation/cdl/en/shrref/59595/HTML/default/a000174655.htm

Cheers from Portugal.

Daniel Santos @ www.cgd.pt
Occasional Contributor
Posts: 12

Re: Reg: Library assignment

Posted in reply to DanielSantos
I Used this command.

proc operate serverid=__8551;
display library _ALL_;
run;

I am not getting any libraries assigned to my country.I am getting only the basic libraries as diplayed as follows.The assigned libraries are not getting displayed.

SASUSER ,MAP,SASHELP,SASADMIN,SASCATCA
Super Contributor
Posts: 474

Re: Reg: Library assignment

Posted in reply to karthikeyan_S
Then, the library you are trying to access remotely is not assigned at the server.

You should explicitly allocate the lib through the ALLOCATE library command of the OPERATE procedure (see the doc above) or preassign the lib at the server.

Cheers from Portugal.

Daniel Santos @ www.cgd.pt
Occasional Contributor
Posts: 12

Re: Reg: Library assignment

Posted in reply to DanielSantos
Is there any option to pre assign the libraries using proc allocate command ??

I am able to assign a share library using the proc allocate but even that is not getting dispalyed with the proc operate display all command .

I tried to assign a pre assigned library using SAS Management Console only but it is not working ?
Ask a Question
Discussion stats
  • 6 replies
  • 206 views
  • 0 likes
  • 2 in conversation