Re: dbexport exit status
Posted in 1996
Frits Schouten wrote:
>
> In article <31BF1F59.5316@transre.com>, jguzman@transre.com says...
> >
> >Does anybody know the exit status for dbexport? I know it's 0 for completed
> >successfully and <>0 for an error. But is there one for disk full, or one
> for
> >when it could not get an exclusive lock, or when it doesn't have write
> >permissions, etc.?
> >
> >I forgot to mention I have Informix Online 7.11UC1 on a sparc solaris 2.4.
> >
> >thanks,
>
> Have you tried 'finderr err_no' on the command line? Works for me.
> BTW: there are well over 500 err_no's I think. Have fun....
> --
> Frits Schouten
> Senior Process Computer Engineer
> BHP NZ Steel Process Computer Department
> Private Bag 92121, Auckland NEW ZEALAND
> Phone: +64-9-3758111 ext:5261; Fax: +64-9-3758826.
> Internet: schouten.frits.jf@bhp.com.au
>
dbexport does not give the exit status...you have know what it is and check for
it in a script after it finishes. Exit status and errors messages are not the
same. Finderr only works for error messages.