What can be the max compilation return code for a program?
What can be the max compilation return code for a program?
Hi,
What can be the max compilation return code for a program? I was not sure on the answer of this question. Interviewer said, you have to think logically but I was not able to answer the question. Does anyone of you know the answer then please share.
What can be the max compilation return code for a program? I was not sure on the answer of this question. Interviewer said, you have to think logically but I was not able to answer the question. Does anyone of you know the answer then please share.
-
- Global Moderator
- Posts: 827
- Joined: Wed Sep 11, 2013 3:57 pm
Re: What can be the max compilation return code for a progra
You should have asked back ...
for COBOL the COBOL manuals,
for FORTRAN the FORTRAN manuals
for <anycompiler> the <anycompiler> manual
but usually the the max return code is 16 ( IIRC )
the info about the return code for any language compiler is in the manual for that language compilerfor what language ?
for COBOL the COBOL manuals,
for FORTRAN the FORTRAN manuals
for <anycompiler> the <anycompiler> manual
but usually the the max return code is 16 ( IIRC )
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
- Robert Sample
- Global Moderator
- Posts: 1896
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: What can be the max compilation return code for a progra
Generally:
0 means successful compile
4 means compile with warnings (program may execute but give incorrect results)
8 means compile with errors (program may execute but give incorrect results)
12 means compile with severe errors (compiler may not produce any output)
16 means compiler stopped executing
0 means successful compile
4 means compile with warnings (program may execute but give incorrect results)
8 means compile with errors (program may execute but give incorrect results)
12 means compile with severe errors (compiler may not produce any output)
16 means compiler stopped executing
Re: What can be the max compilation return code for a program?
It was for COBOL only. Thanks for the answer Robert.
-
- Global Moderator
- Posts: 588
- Joined: Wed Nov 20, 2013 11:53 am
- Location: Mars
Re: What can be the max compilation return code for a program?
Also it depends upon how some shops design/customize the products, I have seen places where 8 is regarded as success for compilation (Strange but true )
zprogrammer
Re: What can be the max compilation return code for a program?
Thanks for all the answers. Thank you!
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute