Re: Informix 4GL Bug Impacting Datetime Fields
Posted in 1996
Dennis J Pimple wrote: > > James Fischer wrote: > > > > The "current" function will never return a > > value other than zero for the fractional part > > Not true. It's not a bug; your platform is missing some math libraries required for fractional > seconds. I've written datetime fractional code for (off the top of my head) HP, Unisys, SCO, et > al. I had the same experience as you (sans calling tech support), on the Unisys box until the > appropriate libraries were installed. I don't know immediately which libararies are required, > although I seem to recall them being documented in release notes. > > Contact tech support again, tell them what I told you, and if they can't help you identify the > libraries I'm talking about, have them call me. This is an operating system dependant feature. In OnLine 7.00 you can switch it off in order to reduce the overhead. I think the parameter is called 'USEOSTIME'. This should be set to 1 for fractions. If it is 0 OnLine simply gets the time once every second. -- Mark. +-------------------------------------------------------------------------+ |Mark D. Stock - The West Solutions Group http://www.west.co.za | | | |Email: marks@west.co.za +------------------------------------------------+ |Tel: +27 11 803 2151 |If it doesn't work... force it! | |Fax: +27 11 803 2189 |If it breaks... it needed replacing anyway! | |Cell: +27 83 250 2325 |Well, that's how I code anyway! | +------------------------+------------------------------------------------+