1834144 Members
2099 Online
110064 Solutions
New Discussion

Return status

 
Mike Humenansky
Occasional Contributor

Return status

We have several cobol tasks
that are aborting at different instructions giving a return code of 255. Any ideas what causes this code for any instruction. Code 254 is the last listed in our manuals.
6 REPLIES 6
harry d brown jr
Honored Contributor

Re: Return status

Mike,

What are the commands causing the error? And what cobol are you using?

live free or die
harry
Live Free or Die
Mike Humenansky
Occasional Contributor

Re: Return status

Harry,
We're using micro focus cobol on the hps. The program is now stopping on divide instructions but we've received the 255 on numerous instructions and some lead to out of bounds problems.
harry d brown jr
Honored Contributor

Re: Return status

Mike,

What is the exact error message?

Also, have you tried doing a "google" search on this string:

+microfocus +cobol +error +255


live free or die
harry
Live Free or Die
Mark Greene_1
Honored Contributor

Re: Return status

have you looked through the on-line docs? On our 11.0 system they are at /opt/cobol/cobdir/docs and /opt/cobol/cobdir/docs.html

Also, see the man page for anim

HTH
mark
the future will be a lot like now, only later
Paula J Frazer-Campbell
Honored Contributor

Re: Return status

Hi Mike

255 = Invalid function was requested

So it depends on what the command was at the time error occured.

This error equates to Windoze GPF error ;^)



Paula
If you can spell SysAdmin then you is one - anon
Wodisch
Honored Contributor

Re: Return status

Hi,

remember that there are two 8-bit values returned from each process: the exit code (which you told us) and the termination code, which tells which signal terminated your process (or wether it terminated volunteerily).

HTH,
Wodisch