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

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

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

View all other training opportunities.

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