startlog() messages
Posted in 1994
Topics: General Discussion
>We have a set of programmes that call startlog(filename) at the start. >This is to track Informix errors, that users are not bothered to less us know. >The problem is that sometimes the info in the logfile is not comprehensive >enough. It does not tell which executable it came from. Do a WHENEVER ANY ERROR CALL error_handler FUNCTION error_handler() DEFINE program_name char(80) LET program_name = arg_val(0) CALL errorlog(program_name) . . . END FUNCTION I believe you'll find this log _after_ the informix log. You can log any string you want with the Informix Library Function, errorlog. || ======= **** **T* ======= ||John Regep || **** **** ||Store Systems Developement || **** *R** ||Kmart Corporation || =========== ********* =========== ||3100 West Big Beaver || ***A* **** ||Troy, MI 48084 || **** **** || ||=============== *M** **** ===============||uunet!kmart!jregep