HELP WITH .ksh script converting the exit status

Hi
Can someone help me please?

In a standard UNIX .ksh script, if you have the exit status..say 5...what line do you have to enter into the script for this number to be automatically converted to its actual exit reason by looking up the exit status file...wherever that is?

thanks

angus

There is NO actual reason associated with numbers, there are suggestions for program exit status values. 0 == success anything else is an error condition.

Read this page:
sysexits

You can also read about discussions attempting to standardize this by googling for program exit status in bash, for example.