
Informix v2.x binary file format
On Sat, 22 Aug 1998 18:58:58 +0100, "Stephen John Naughton"
Quote:
>Anyone know of information on the binary file format of *.dat and *.idx
>files for Informix V2.x
I assume this is the sql-version of the engine.
I don't know about .idx files, but you should hardly need them for any
purpose.
The .dat files are fixed length fields and therfore records.
Each record has a line feed as the last byte (after the data) except
deleted records where this last byte is 0 hex.
The format of each field is standard ascii characters for char fields,
a types corresponding to the C-type on the machine for smallint,
integer and float. Decimals are in a special base 100 format that I
don't know the details about.
What do you need this for? If you said someone might be able to
suggest solutions to what you want to do. Possibly other than reading
the raw data.
Nils Myklebust
NM Data AS
Norway
FAQ at: http://www.***.com/
(Now with ODBC info under "Third party products".)