BookmarkSubscribeRSS Feed
sabya_biswal
Calcite | Level 5

Hi ,

Can you please help on how to use query_timeout /timeout option in connection part of proc sql in SAS.

I am specifically looking for Oracle connection, and the purpose is to abort the query execution when it reaches the timeout threshold.

3 REPLIES 3
ChrisNZ
Tourmaline | Level 20

> abort the query execution when it reaches the timeout threshold.

I don't think such an option exists on the SAS side. It's usually the Oracle DBAs who set these kinds of limits

 

ChrisNZ
Tourmaline | Level 20

Actually, the SAS documentation doesn't mention Oracle or ODBC, but ODBC seems to support that option.

See page 19 of http://www.math.wpi.edu/saspdf/accodbc/c01.pdf

When things get cloudy like that. a call to tech support to ask them to answer the question, and to clarify the documentation is often the best option.

What to you get when you try?

SASKiwi
PROC Star

@sabya_biswal  - Please post the SAS log including the error you are getting.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 3 replies
  • 1339 views
  • 0 likes
  • 3 in conversation