Re: Suppressing error messages
Posted in 1995
>I have chosen at one point to have in my code: > >whenever error continue > >However, informix insists on spitting the error out to the screen. My >users are disconcerted when things whip past them that say "ERROR". > Brian, Set your error log: call startlog(log_file) this will output message to the named logfile. Use whenever ANY error continue to trap ALL errors. Only a subset of errors get trapped without the ANY clause (I don't remember what the subset is and I don't have time to look for it.) HTH -- || ======= **** **T* ======= ||John Regep || **** **** ||Kmart Information Systems || **** *R** ||Kmart Corporation || =========== ********* =========== ||3100 West Big Beaver C-1 || ***A* **** ||Troy, MI 48084 || **** **** ||(810) 643-5078 ||=============== *M** **** ===============||uunet!kmart!jregep