BookmarkSubscribeRSS Feed
dougcrites
Fluorite | Level 6

I have the 9.4 SAS ODBC driver installed and running in local mode.

For programs where I start from a Windows command, all works fine.

But if the program is running as a Windows service, the connection just hangs...  The SAS ODBC local server does not get invoked.

I am using the following where the ODBC server parameters have this startup command:

initstmt %sasodbc(sassvr) -icon -nologo

 

Does anyone know if this is able to work with programs running as a service?

Is there some other parameter to add?   I tried adding -nosplash  ,  but does not make any difference.

3 REPLIES 3
SASKiwi
PROC Star

A Windows service typically runs under the Windows system account. Try running it with your own user account instead to see if that helps.

dougcrites
Fluorite | Level 6

Thank you for the suggestion.  I tried it but still can't get the connection to work.

SASKiwi
PROC Star

I suggest you raise a Tech Support track for this as it requires further investigation.

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand in the Innovate Hub.

Watch 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
  • 1170 views
  • 0 likes
  • 2 in conversation