Re: ESQL/C error message
Posted in 1998
Tony Desborough wrote: > > Hi, > > We have an old version of Informix (INFORMIX-OnLine Version 4.10.UG1 > and INFORMIX EMBEDDED SQL for C Version 4.10.UG1) running under > SCO Unix V.3.2 v4.1 > > Everything was fine until we had a system crash and had to > restore from our backups. Since the restore "esql" is > failing and returning an error message that is not > listed :- > > /u/acct/informix/lib/esqlc -t unix -V -EDpws sicrefif.ec > Unknown error message -22554. > > All other Informix products are working as per normal. > ESQL/C was working fine until the crash, and as far as I am > aware the backup was restored correctly. > > Does anyone have any ideas as to where the problem is ? > > Thanks in advance > Tony My error manual (V7.1) says: "-22554 Field type <field-type-name> has been used out of context. "This error is generated when, for example, the field-type TYPE is used where COUNT is expected. Check the syntax and usage for system descriptor field names in the discussion of the ALLOCATE DESCRIPTOR and GET DESCRIPTOR statements in chapter 1 of the Informix Guide to SQL: Syntax. For a discussion of the system descriptor area, see the ESQL/C manual." Any help? -- Peter Lancashire Information Systems Specialist, Bayer plc Eastern Way, Bury St Edmunds, Suffolk, IP32 7AH, UK Tel: +44-1635-562258, Fax: +44-1635-562281 Mail: Peter.Lancashire.PL1@bayer.co.uk --- My Internet plumbing does not allow me to mail and post news together. Sorry. All opinions are my own and not those of Bayer plc. --- Join Infuse, the UK Informix User Group at http://www.infuse.org.uk/