Re: What is this error?
Posted in 1991
Path: emory!swrinde!cs.utexas.edu!uunet!trac2000!das13!dave
From: dave@das13.snide.com (Dave Snyder)
Newsgroups: comp.databases.informix
Message-ID: <1576@das13.snide.com>
Date: 11 Dec 91 18:13:28 GMT
References: <1991Dec11.115229.13125@dircon.co.uk>
Organization: Snide Inc. - Folcroft, PA
In article <1991Dec11.115229.13125@dircon.co.uk>, uaa1006@dircon.co.uk (Peter Miles) writes:
> I've got an ESQL/C program which is trying to UPDATE a row in
> the database, but it keeps returning with Error number: -522.
>
> This number doesn't appear in the manual. Can anyone tell me
> what it means?
>
> I'm using ESQL/C 4.00 with Standard Engine.
>
I just checked my ESQL/C manual and guess what... you're right! However,
my "dberror" program tells me this...
-522: Table (%s) not selected in query.
Now for the plug... If you would like a copy of "dberror" or other Informix
utilities, they can be grabbed from my machine "das13". Here's the required
info:
You can reach "das13" through the archive-server or ANONUUCP (ANONFTP is
available through "mathcs.emory.edu"), the info you need follows...
ANONFTP:
If you've never used anonymous ftp, here is a quick primer, in the form
of a sample session, with comments in {}. Lines with a "<<<" at the end
are where you type something.
% ftp mathcs.emory.edu {IP Address = 128.140.2.1} <<<
Connected to mathcs.emory.edu.
220 emory FTP server (SunOS 4.1) ready.
Name (mathcs.emory.edu:dave): anonymous <<<
331 Guest login ok, send ident as password.
Password: dave@snide.com {use your name and host here} <<<
230 Guest login ok, access restrictions apply.
ftp> cd pub/informix/das13 <<<
250 CWD command successful.
ftp> get ls-lR <<<
200 PORT command successful.
226 ASCII Transfer complete.
.
. {repeat this step for each file you want}
.
ftp> quit <<<
221 Goodbye.
%
ANONUUCP:
Create one or more of the following entries in your Systems (or L.sys) file:
das13 Any;1 FAST 9600 1-2154614007 "" \\r\\c in:-\\r-in: anonuucp
das13 Any;1 ACU 2400 1-2154614007 "" \\r\\d\\r\\c in:-\\r-in: anonuucp
das13 Any;1 ACU 1200 1-2154614007 "" \\r\\d\\r\\d\\r\\c in:-\\r-in: anonuucp
This is a call to Philadelphia, PA USA
If you've never used anonymous uucp, try this for your first command...
uucp das13!~/ls-lR /usr/spool/uucppublic
ARCHIVE-SERVER:
To access the archive-server, send mail to: archive-server@das13.snide.com
In the Subject: put the word "help" (w/o the quotes). Leave the rest of
your mail blank since it'll be ignored anyway. You will receive mail
back explaining in detail what the archive-server is and how to use it.
Any problems or questions should be mailed to: dave@das13.snide.com
DAS
--
David A. Snyder @ Snide Inc. - Folcroft, PA Current Release
is db4glgen-3.2
UUCP: ..!uunet!das13!dave INTERNET: Dave.Snyder@snide.com