1758560 Members
2093 Online
108872 Solutions
New Discussion юеВ

Re: exit code 142

 
EML
Advisor

exit code 142

What is meant by return code 142? We had some informix script running, but exiting with this return code. Where do I find also the other number meanings?
5 REPLIES 5
Chris Vail
Honored Contributor

Re: exit code 142

That code probably has meaning for Informix, but not for Unix. Unix returns codes 0, 1 or 2.


Chris
A. Clay Stephenson
Acclaimed Contributor

Re: exit code 142

The general answer to this question is to look in /usr/include/sys/errno.h for the matching value BUT it is up to the developer to exit with meaningful result code. 142 is not a defined UNIX errno; you need to contact the software vendor.
If it ain't broke, I can fix that.
Roger Crettol
Advisor

Re: exit code 142

Don't know if this applies, but some shells will return an exit code of 128+signalNumber if a process was killed - in your case, a kill -14 (SIGALRM)
Pete Randall
Outstanding Contributor

Re: exit code 142

finderr 142
-142 ISAM error: overflow of tblspace page.

An internal error (probably obsolete) occurred. If the error recurs,
please note all circumstances and contact Informix Technical Support.

Pete
Jack Werner
Frequent Advisor

Re: exit code 142

EML,
Pete should had gotten 10 points.
i'm retired