WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Error Codes

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

WBERRORHANDLEROFFSET


Question:

What exactly does wberrorhandleroffset return? can i use it for anything when trying to figure out what went wrong with a script?

Answer:

It can give you a general sense of shere the script died, but not really an exact point. The DebugTrace function might be more help. The offset number is not readily convertible to a line number.

Update: Starting in 2004G, When processing goes to a Cancel or Error handler routine, the WIL variable "wberrorhandlerlinenumber" and wberrorarray[8] are now set to the line number in the currently-executing script or UDF where the error occurred.


Article ID:   W16442
File Created: 2005:02:18:12:20:38
Last Updated: 2005:02:18:12:20:38