BookmarkSubscribeRSS Feed
JPSASMAN
Calcite | Level 5
Good Evening all,
We have an interesting issue.
We are using Access to OLEDB and want to use BulkLoad capabilities and we want to use windows authentication..
However when defining library in Metadata Server using Management Console it always fails because you cant use BULKLOAD and OLEDB Services.
We have been able to build the library using OLEDB engine with BULKLOAD and windows authentication using good old base SAS code techniques
Now we want to register it with Metadata server since management console cant create it, How is that performed? Is there a better way?
Thanks
5 REPLIES 5
LinusH
Tourmaline | Level 20
Hi,
I'm not aware of any limitations to bulkload and OLEDB. Can you be more specific about "because you cant use BULKLOAD and OLEDB Services".
Any error messages?

/Linus
Data never sleeps
JPSASMAN
Calcite | Level 5
There are limitations as indicated in the documentation.
It specifically indicates that BULKLOAD is not supported thru OLEDB Services. However if you direct connect to the data source with provider and information BULKLOAD will work, which we have been able to do using base sas coding using Enteprise Guide. THe problem that we have encountered is that when you use Management Console to create the libref defintion despite multiple configurations on properties tabs SAS OLEDB Services are deployed and we cant find a way to perform the direct connection required to enable BULKLOAD:
DaveR_SAS
SAS Employee
Does the "Connecting to Common Data Sources" chapter in the Data Administration Guide have a topic that matches your situation?

http://support.sas.com/documentation/cdl/en/bidsag/61236/HTML/default/a003112367.htm
JPSASMAN
Calcite | Level 5
No.
What we are truly trying to do is establish a libref using sas management console to a SQLServer 2008 database where the bulkload option is enabled.
If order for this to work we need to somehow have sas managment console create a direct connections through the provider to the SQLServer database and not via OLEDB Services.
nar_sas
SAS Employee
One option is to use the generic library template. In this library, you can type in your own libname statement. It still gets registered in metadata as a library, but the syntax is entirely user written.

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!

How to connect to databases in SAS Viya

Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 5 replies
  • 824 views
  • 0 likes
  • 4 in conversation