BookmarkSubscribeRSS Feed
CPAZ
Calcite | Level 5


Hi All,

I have an EGUIDE 4.3 project that has MSOLAP cube connectivity and a slice output to a dataset. When I run it as a scheduled job, it prompts me for the OLAP Cube connection information. Is there a way to "force" a connection for this project. The schedules job will not run until the connection information is supplied.

Thanks,

Chris

1 REPLY 1
SASKiwi
PROC Star

The usual way to force a database connection is to use the NOPROMPT option. This is how you do it via a CONNECT statement if you are using ODBC to connect to SQL Server and are using Windows authentification, assuming your SAS server runs on Windows:

connect to odbc (noprompt = "server=MySQLserver;DRIVER=SQL Server;Trusted Connection=yes;DATABASE=Mydatabase;"  readbuff = 32767);

If you want more specific help then you need to provide details of how you connect to your SQL Server database.

sas-innovate-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

Register now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 1 reply
  • 1101 views
  • 0 likes
  • 2 in conversation