Status error in a Shell script UNIX

From: thierry merlin <t.merlin_at_citb.bull.net>
Date: 1998/04/01
Message-ID: <6ftfvh$41o2_at_soprox-in.bull.fr>#1/1


Hi,
[Quoted] I want to capture the status error of my procedure in a Shell script UNIX. I don't know how to put the status error in my procedure. Can somebody help me or send me any suggestion ? For example :

[Quoted] my Shell script:

sqlplus -s user/password << FIN

    execute proc_test;
FIN
=>proc_test must generate an error and I want to test this error ( if $error
= ... then )

Thank's for your help. Received on Wed Apr 01 1998 - 00:00:00 CEST

Original text of this message