error -461
Posted in 1999
Topics: Storage & Space Management, Error Codes & Troubleshooting, Connectivity: ESQL/C, 4GL & Embedded SQL
-----BEGIN PGP SIGNED MESSAGE----- Hi, I have a few C++ programs built with INFORMIX ESQL/C (version 9.20.UC2) and running with INFORMIX SE (standard engine version 7.24.UC8A). The delivered programs were built with static INFORMIX libraries. Everything works fine on the development machine (HPUX 10.20 A 9000/889). However, when delivered to some users (HPUX 10.20 A 9000/755), all programs built with ESQL/C report the INFORMIX error: -461. finderr 461 says: ======================= - -461 File open error. This statement transfers a value between a file and a BYTE or TEXT column. Since the locator structure field loc_loctype was set to LOCFNAME, the database server tried to open the file using the pathname in loc_fname and the flags in loc_oflags. An operating system error was returned. Check the accompanying ISAM error code for more information, and look for operating system messages. Typical causes include lack of disk space, file permission problems, and limits on the number of open files. ======================= It is not a problem of disk space nor a file permission issue in my case. - --> Any clue? Regards, Dominique -----BEGIN PGP SIGNATURE----- Version: 2.6.3ia Charset: noconv Comment: public key at http://dominique.pelle.free.fr/pgp_pubkey.html iQCVAwUBN5MXKwHD2k9GqErFAQGpWwP/UgakEbx0jAg/zQGOB9f7VyhBdxMf1N8A sl4QjBP6fU9jPclJA8vpY/WQJ8PNNvB1U3+07KWQJEBCPZAE+FFxuA9EaYv6XSbh NHYRJXJSMFiAfV2Eq7/nw2CQfyg8wWFPHMIpZIPDV9JsK4mksbfb5ILkhRpIjBw0 HSSSPqMAIA4= =Vno6 -----END PGP SIGNATURE-----
The error -461 is a spurious error which occurs almost exclusively, assuming you don't REALLY have corrupt BLOB files, when a compiled 4GL or ESQL program is run on a client or server that either does not have an ESQL/4GL runtime installed or the runtime is an earlier version. It happens because the message files that the app needs are not there or are missing critical messages so the message code cannot even find the message that says "I cannot find my messages" and prints whatever text is already in memory. For some unknown reason it is always the message for -461, has been for years. Solution: install an ESQL 9.20 (ie SDK 2.20) compatible runtime (iConnect 2.20 or later) on that machine. Art S. Kagel Dominique Pelle wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hi, > > I have a few C++ programs built with INFORMIX ESQL/C (version 9.20.UC2) > and running with INFORMIX SE (standard engine version 7.24.UC8A). > > The delivered programs were built with static INFORMIX libraries. > > Everything works fine on the development machine (HPUX 10.20 A 9000/889). > > However, when delivered to some users (HPUX 10.20 A 9000/755), all > programs built with ESQL/C report the INFORMIX error: -461. > > finderr 461 says: > > ======================= > - -461 File open error. > > This statement transfers a value between a file and a BYTE or TEXT column. > Since the locator structure field loc_loctype was set to LOCFNAME, the > database server tried to open the file using the pathname in loc_fname and > the flags in loc_oflags. An operating system error was returned. Check the > accompanying ISAM error code for more information, and look for operating > system messages. Typical causes include lack of disk space, file permission > problems, and limits on the number of open files. > ======================= > > It is not a problem of disk space nor a file permission issue in my case. > > - --> Any clue? > > Regards, > > Dominique > > -----BEGIN PGP SIGNATURE----- > Version: 2.6.3ia > Charset: noconv > Comment: public key at http://dominique.pelle.free.fr/pgp_pubkey.html > > iQCVAwUBN5MXKwHD2k9GqErFAQGpWwP/UgakEbx0jAg/zQGOB9f7VyhBdxMf1N8A > sl4QjBP6fU9jPclJA8vpY/WQJ8PNNvB1U3+07KWQJEBCPZAE+FFxuA9EaYv6XSbh > NHYRJXJSMFiAfV2Eq7/nw2CQfyg8wWFPHMIpZIPDV9JsK4mksbfb5ILkhRpIjBw0 > HSSSPqMAIA4= > =Vno6 > -----END PGP SIGNATURE-----