Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Paul Watson — — source: Informix-list mailing list archive (1991-1998)
Roma wrote:
[cutting]
> >
> But next example is work (7.22 on SCO)
>
> 1) /u/informix/tst.sh - script
> -------------------
> let a=16
> exit $a
> -------------------
>
> 2). SQL
> -------------------
> CREATE PROCEDURE tst_proc () RETURNING INT;> DEFINE dummy_ INT;
> DEFINE res_ INT;
> ON EXCEPTION IN (-668)
> SET dummy_, res_
> RETURN res_;
> END EXCEPTION;
> SYSTEM "/u/informix/tst.sh";
> RETURN 0;
> END PROCEDURE;
>
> EXECUTE PROCEDURE tst_proc();> -----------------
> execute in dbaccess and returns -16
>
> Roman Soudakov
But it doesn't work on AIX, or Solaris or Dynix.
--
Paul Watson #
WF Software Ltd # I don't suffer from stress -
Tel: +44 1436 674729 # I'm a carrier.
Fax: +44 1436 678693 #
www.wfsoftware.co.uk #
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.