BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
nigromx
Fluorite | Level 6

Hi everyone:

 

I have a problem working with Proc DS2 and Proc Server together

 

My code for Proc Server is:

 

proc server id=server1 authenticate=opt;
     ALLOC LIBRARY DEMO V9 '/route/to/library';
    allocate sasfile demo.ds1;
    allocate sasfile demo.ds2;
run;

 

Code for client is:

 

libname demo server=server1;

 

data _NULL_;
    if 0 then set demo.ds1 nobs=n;
    call symputx('total',n);
    stop;
run;

 

%put &total;

 

proc ds2;

...

quit;

 

total is ok but inside ds2 the log write:

 

NOTE: DS2 Ignoring libname DEMO (engine REMOTE); no connection string

 

Any idea.

 

Thanks in advance.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
ChrisBrooks
Ammonite | Level 13

I may be wrong but I don't think Proc DS2 recognises SAS/SHARE libraries - locking is achieved via the LOCKTABLE option -> http://support.sas.com/documentation/cdl/en/ds2ref/69739/HTML/default/viewer.htm#n069zo2gxcg6rtn1v4x...

View solution in original post

3 REPLIES 3
LinusH
Tourmaline | Level 20
Does this work for non-DS2 steps?
Have you tried to specify the server= option?
Data never sleeps
ChrisBrooks
Ammonite | Level 13

I may be wrong but I don't think Proc DS2 recognises SAS/SHARE libraries - locking is achieved via the LOCKTABLE option -> http://support.sas.com/documentation/cdl/en/ds2ref/69739/HTML/default/viewer.htm#n069zo2gxcg6rtn1v4x...

FriedEgg
SAS Employee

SAS/SHARE is not a supported data source using the 'remote' engine.  Oddly, you still should utilize it through ODBC instead.

 

List of supported data sources (same for FedSQL as DS2):

http://support.sas.com/documentation/cdl/en/fedsqlref/67364/HTML/default/viewer.htm#n07v02kso1fe3vn1...

 

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 3 replies
  • 1203 views
  • 2 likes
  • 4 in conversation