CURRENT
Posted in 1995
>QUESTION: >One of our users reports that the following program occasionally >returns a time different fromt he Unix Date command. The program >is run using binaries compiled under Sun 4.1.3 and Informix >502.UC6. The machine running the program is running Solaris 2.3 >and Informix 5.02.UC7. I'm still trying to reproduce the problem, >but I believe him without having done so. My question is has >anyone else reported a similar problem. If so, is there a work >around? Page 2-38/39 and page 7-296 Informix 4gl Reference Manual: 4. If the [CURRENT]function is executed more than once in a statemnt, identical values may be returned at each point of the call. You cannot rely on CURRENT to provide distinct values each time that it executes in the same statement. 5. INFORMIX-4GL may not execute the CURRENT function in the physical order in which it appears in a statement. You should not use the function to mark the start, then end, or any specific point in the execution of the 4GL statement. || ======= **** **T* ======= ||John Regep || **** **** ||Store Systems Developement || **** *R** ||Kmart Corporation || =========== ********* =========== ||3100 West Big Beaver || ***A* **** ||Troy, MI 48084 || **** **** ||(810) 643-5078 ||=============== *M** **** ===============||uunet!kmart!jregep