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-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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