Hi Dinesh, DBI has a built-in function, dbitrace, that allows you to throw fatal errors and other information to a data file
Check 'perldoc dbi' and look for dbitrace. Regards, John > On Jul 1, Rao, Dinesh - eSpeed scribed: > >> Hi! >> >> I have a DBI program which connects to Sybase database and executes a >> procedure, if the procedure execution fails, it automatically throws >> an error on my screen, but I want this error to be written to a log >> file, how do I write these error messages to a file ? >> >> Thanks much >> -Dinesh >> >> >>[big sig snipped]
