Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

I need to capture the informix DB errors like Update failed, Insert failed using the shell script. I am using ksh shell.

share|improve this question
    
What is generating the errors? Are you calling Informix commands from your shell script? Show us your existing code and tell us where you want to check for errors. –  Gilles Aug 1 '14 at 21:18
    
Gilles, I am using informix update query directly using dbaccess command. I want to capture the SQL Error if update failed. –  Sundar Aug 2 '14 at 16:26
    
Show us your code. –  Gilles Aug 2 '14 at 16:37

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.