Pop-Up Thingie
Sidebar
>>> Magnum BBS <<<
Home
Forum
Files
Dark
Log in
Username
Password
Sidebar
Forum
Usenet
COMP.DATABASES.INGRES
ABF seterr map error value
From
nikosv
@21:1/5 to
All
on Tue Oct 12 05:40:03 2021
Trying to catch the following error with seterr
## US09CC line %0d, Syntax error on '%1c'. The correct syntax is:
DROP [object_type] object_name {, [object_type] object_name} ##
so there's no error message displayed to the user of the ABF application.
errhelp E_US09CC
gives value (2508)
The following handler if given 'case 2508' does not catch the error,but if I use 'Generic code 31000/Statement syntax error' it does.
int myhandler (int *errno) {
int status=0;
switch (*errno)
{
case 31000:
status = 0;
break;
default:
status = *errno;
break;
}
return (status);
}
So the question is,how can I get the correct value of a E_ error to use it for seterr ?
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)
Who's Online
Recent Visitors
Plume
Sun Sep 14 09:34:52 2025
from
Uk
via
Raw
Gretchiie
Sun Sep 14 06:07:30 2025
from
Derry, Nh
via
Telnet
Thlc
Sat Sep 13 17:11:34 2025
from
Rognac, France
via
Telnet
Thlc
Sat Sep 13 17:04:03 2025
from
Rognac, France
via
Telnet
Thlc
Sat Sep 13 16:32:19 2025
from
Rognac, France
via
SSH
Thlc
Sat Sep 13 15:41:11 2025
from
Rognac, France
via
SSH
Thlc
Sat Sep 13 07:56:03 2025
from
Rognac, France
via
SSH
Gretchiie
Sat Sep 13 07:22:10 2025
from
Derry, Nh
via
Telnet
System Info
Sysop:
Keyop
Location:
Huddersfield, West Yorkshire, UK
Users:
546
Nodes:
16 (
0
/
16
)
Uptime:
166:43:46
Calls:
10,385
Calls today:
2
Files:
14,057
Messages:
6,416,529