Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I am running Micro focus cobol on U

Status
Not open for further replies.

krickb

Programmer
Nov 19, 2003
11
US
I am running Micro focus cobol on Unix. It is compiled with PRO Cobol. The program runs fine..but
when I do an echo $? I get a return code of 1, sometimes 12. I have looked in the error.h file but the return code descriptions do not make sense for the type of program I am running. Im using hp-ux 11.11. Does anyone know how to determine if these are unix or cobol, or oracle codes?

Thanks,
for you help!
 
its not clear whether you mean microfocus cobol itself is returning the value you mention or a program compiled with it.

in any case you should contact the vendor of the program to get the correct information.

which error.h are you talking about, did you mean "errno.h" ? program return values are not defined in errno.h. errno.h only defines error values returned by system calls and possibly by library calls.
 
Thanks for the advice..it is a program compiled by microfocus cobol..
It must be a mircrofocus return code.
I appreciate you taking the time to help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top