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.

hackathon24-white-horiz.png

Join the 2025 SAS Hackathon!

Calling all data scientists and open-source enthusiasts! Want to solve real problems that impact your company or the world? Register to hack by August 31st!

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