Pop-Up Thingie
Sidebar
Too Lazy BBS
Home
Forum
Files
Chat
Bulletins
Top doors
MOTD
BBS Stats
Radio
AvatarChat
Dark
Register
Log in
Username
Password
Sidebar
Forum
USENET
comp.databases.ingres
ABF seterr map error value
From
nikosv
@nikos.vaggalis@gmail.com to
comp.databases.ingres
on Tue Oct 12 05:40:03 2021
From Newsgroup: comp.databases.ingres
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 ?
--- Synchronet 3.21b-Linux NewsLink 1.2
Who's Online
Recent Visitors
Geek2
Sun May 17 07:06:15 2026
from
Euclid, Oh
via
Telnet
Geek2
Sat May 16 21:25:04 2026
from
Euclid, Oh
via
Telnet
Jas Hud
Sat May 16 00:50:28 2026
from
Bbs.Eob-Bbs.Com,wi
via
Telnet
Geek2
Fri May 15 19:53:20 2026
from
Euclid, Oh
via
Telnet
System Info
Sysop:
Amessyroom
Location:
Fayetteville, NC
Users:
65
Nodes:
6 (
0
/
6
)
Uptime:
08:07:36
Calls:
862
Files:
1,311
D/L today:
2 files
(6,679K bytes)
Messages:
264,936