how to create microsoft server library .

Accepted Solution Solved
Reply
Contributor
Posts: 36
Accepted Solution

how to create microsoft server library .

What are neccessary step to create a SAS library for microsoft server ?

 

I have created one but it is giving following error :-

 

ERROR: CLI error trying to establish connection: [DataDirect][ODBC lib] Data source name not found and no default driver specified
ERROR: Error in the LIBNAME statement.

 

What does it mean or what are the possible reason for above error?

 

Many thanks in advance 


Accepted Solutions
Solution
‎01-23-2017 02:34 AM
Contributor
Posts: 36

Re: how to create microsoft server library .


All Replies
Super User
Posts: 5,257

Re: how to create microsoft server library .

There are many examples in the documentation/papers on how to do this.

What have you tried? The error alone is not enough to understand your situation.

Data never sleeps
Contributor
Posts: 36

Re: how to create microsoft server library .

i have created first data connection through SAS SMC and then created new library using SAS SMC .

Is this working or not ? 

 

Can you suggest how should i proceed ?

Super User
Posts: 5,257

Re: how to create microsoft server library .

First step: make it work from outside SAS first (but from the same host), i.e. using Excel.

Data never sleeps
Super User
Posts: 3,110

Re: how to create microsoft server library .

I find it easiest to get a LIBNAME statement working successfully first and then use that as my basis to create an SMC data library. Please post the LIBNAME statement that is giving you the error.

Contributor
Posts: 36

Re: how to create microsoft server library .

I have tried to run  below libname :-

 


LIBNAME SAS_MS SQLSVR datasrc="172.31.15.3:1433/JXX_XXX_EXT" SCHEMA=DBO user='misXXX' password='XXXXX';

 

and i have added entry for sqlsvr in odbc.ini and then tried below libname:-

LIBNAME SAS_MS SQLSVR  Datasrc=MSDATA_PROD  SCHEMA=DBO  AUTHDOMAIN="AUTH_MSSQL" ;

 

Am i doing right or not ?

 

Solution
‎01-23-2017 02:34 AM
Contributor
Posts: 36

Re: how to create microsoft server library .

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 6 replies
  • 173 views
  • 0 likes
  • 3 in conversation