Re: ESQL/C error message
Posted in 1998
On 21 May 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. Did you have to restore just the database or the Informix products as well? Just a thought if you restored the products as well - in what sequence ? (I'm guessing here). > 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. finderr 22554 yields the following :- -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 7 of The Informix Guide to SQL: Reference. See also the discussion of the system descriptor area in Chapter 6 of that manual. Hope this helps in some way. > 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 Regards Glyn Balmer I.T. Consultant BICC Cables Limited Erith Kent UK