1846115 Members
4367 Online
110253 Solutions
New Discussion

about error in script

 
kamal_15
Regular Advisor

about error in script

hi all
i want to make error handeler but i don't know how to make it ?

if i write script which doing somthing
if this script fail. or return with error .
the error will appear on screen to users

i want to check the status of script
executed true or false.

this is sample:
i have informix DB
-----------------------------------
dbaccess database name <
1 REPLY 1
kamal_15
Regular Advisor

Re: about error in script

sorry
i know the solution
it is very easy . but i forget it
----------------------------------------
dbaccess database name 2>/dev/null <