Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WHENEVER ERROR scope?

Status
Not open for further replies.

supermankelly

Programmer
Dec 19, 2006
3
GB
Hey, I assumed WHENEVER statements scope was until the end of the program/module, unless over written by another WHENEVER statement. I even confirmed this on multiple sites and references, which all say until end of module.

BUT, when I run my program which calls a function, the WHENEVER ERROR CALL I set in MAIN isn't set on called function...

 
Just because the source of the function is outside the scope of your module ?

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
No it is right under the main. I copied the exact same program to my development envirment running on Informix5 and it works fine, but in new environment running on Informix11 it isn't...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top