Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
error management
#1
Solved: 10 Years, 9 Months, 1 Week ago
Hi,
I created a function with query on a DB; sometimes I obtain errors, such as "ORA-00020: maximum number of processes (%s) exceeded"
obviously indipendent from the script.
Which instruction can I use to manage this error (and eventual similar) repeating automatically the function?
[is it possible to set a fixed number of attempts to repeat the function when there is an error?]
thanks a lot

PS: 'On error resume next' is insufficient in my need because bypasses error without retry
Reply
#2
Solved: 10 Years, 9 Months, 1 Week ago
you can raise an error using an err object... whenever you encounter that particular no, increase a counter by 1 till it reaches the value defined by you.
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  License Management jeffwilkerson 2 2,298 10-22-2008, 01:19 AM
Last Post: jeffwilkerson
  management null queries stevol 0 1,481 06-26-2008, 05:41 PM
Last Post: stevol

Forum Jump:


Users browsing this thread: 1 Guest(s)