BookmarkSubscribeRSS Feed
deleted_user
Not applicable
In SAS Management Console I've defined a new SAS library based on a DB2 engine. This connection works well on WorkSpace servers and Stored Process Servers. Now the following happens:

At night, the DB2 database goes offline for backup reasons. The SP server will lose connection with this database server and the users won't be able to run SP's based on this connection. However, the Metadata server will think the connection is up and running.

There's no way to avoid the database server from going offline, so I need to find a solution to make the SP server automaticly reconnect. By the way, the WorkSpace server doesn't have this kind of problem, because it's automaticly starting a new sas process.

Restarting the SP server or ObjectSpawner with a cronjob wouldn't be the perfect solution, because it will affect the whole organisation. What's next to try?

Tnx in advance
2 REPLIES 2
deleted_user
Not applicable
Hello,


You have to try these 2 solutions:

1) Change the TIME_IDDLE parameter ( something like that) in DB2 to UNLIMITTED.

2) Use CONNECTION=UNIQUE option in the LIBNAME Instruction. The connection will be opened each time you use a table and closed at the end of using table.


Regards,
deleted_user
Not applicable
I forget the second option in the LIBNAME instruction

2) Use CONNECTION=UNIQUE UTILCONN_TRANSIENT
=YES options in the LIBNAME Instruction. The connection will be opened each time you use a table and closed at the end of using table.

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 Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 663 views
  • 0 likes
  • 1 in conversation