Native byte storage format
Posted in 1997
Sean Birkhead — — source: Informix-list mailing list archive (1991-1998)
I am using Easysoft's ODBC drivers to talk to an Informix database (standard engine). The software actually talks to raw CISAM files rather than Informix and I therefore must define the file format to the ODBC software. I have managed to successfully read char variables,integers,serial and date fields but I am having great trouble with decimals and floats. For example an integer must be defined to the application as a four byte reversed word (Long word reversed). Does anybody know how floats and decimals (e.g. decimal 12,2) are stored by Informix in the raw CISAM FILE? Even better - has anybody ever done this with Easysoft's ODBC? Thanks for any help. Sean Birkhead.