Re: Capture return from sybase in shell script



$? will always be zero as isql is succeding irrespective of ur
procedure return status.

To add return status -1 is reserved by syabse.

so to avoid confution user error
codes should be either +ve or
not b/w -1 to 100

.