SAS Programming

DATA Step, Macro, Functions and more
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-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

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