General
cancel
Showing results for 
Search instead for 
Did you mean: 

script contain informix sql and commands

kamal_15
Regular Advisor

script contain informix sql and commands

hi all
i have hp-ux v 10.20 and informix v 5.05
i have script contain sql statments
such as (select , insert , ....etc).

i want to now how can i handel informix error
in this script?
i want to receive an error in variable and check the number of error and then display a messege that i see it is suitable to end user

thanks
kamal
1 REPLY
Alex Lavrov.
Honored Contributor

Re: script contain informix sql and commands

As I said in your other thread, redirect it to the file. It' the right way to work in the scripts. Files are easier to handle when you want to extract data from.
I don't give a damn for a man that can only spell a word one way. (M. Twain)