Re: C-ISAM
Posted in 1992
In-Reply-To: <1992Sep22.214014.9309@informix.com> dsimon@jupiter.noname (Don Simon) In article <1992Sep22.214014.9309@informix.com> dsimon@jupiter.noname (Don Simon) writes: >>Can anyone out there tell me what the definitions of LONGTYPE and >>INTTYPE are from the Informix C-ISAM manual (Chapter 3)? >> > According to the CISAM Programmers Manual: > > Cisam C-Langauge Size mnemonic Size > CHARTYPE char -- -- > INTTYPE int INTSIZE 2 > LONGTYPE long LONGSIZE 4 > FLOATTYPE float FLOATSIZE sizeof(float) > DOUBLETYPE double DOUBLESIZE sizeof(double) > DECIMALTYPE -- -- -- > > > Note that C-ISAM integers always take two bytes, regardless of the > internal representation of an integer on your machine. > > CISAM does not change the representation of float and double data types. > You should consider using the CISAM DECIMALTYPE data type, as an alternative > if you want complete machine independence. I'm not really. I just want to be able to produce reports from the Audit Trail files that I've set up on a couple of tables to tell me who's doing what and when. I've got a few snatches from the C-ISAM manual and one entry makes reference to the 2 data types I mentioned. Incedently, if anyone out there has a utility for this already I really don't what to re-invent the wheel... -------------------------------------------------------------- | Who cares whos opinions these are?! | | Send me mail and I'll love you forever (Maybe) | |------------------------------------------------------------| | Stuart Hemming | shemminga@cix.compulink.co.uk | | Tudor Labels Ltd | uunet!cix.compulink.co.uk!shemminga | | Roman Bank Bourne | Tel : (+44) 778 426444 | | Lincs PE10 9LQ. UK. | Fax : (+44) 778 421862 | -------------------------------------------------------------- Stuart |8-)