View previous topic :: View next topic
|
Author |
Message |
maridawson
New User
Joined: 24 Jun 2008 Posts: 59 Location: chennai
|
|
|
|
compiler option which does the force full compilation even if in the presence of serious error in COBOL - ? |
|
Back to top |
|
|
Srihari Gonugunta
Active User
Joined: 14 Sep 2007 Posts: 295 Location: Singapore
|
|
|
|
By the way, What are you going to achieve by suppressing a serious error? |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
Quote: |
force full compilation even if in the presence of serious error in COBOL - ?
|
does not exist. |
|
Back to top |
|
|
maridawson
New User
Joined: 24 Jun 2008 Posts: 59 Location: chennai
|
|
|
|
i just need to know that compiler option .......
@Srihari ...... this is a quiz question ..... |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Hi,
Which COBOL compiler are you using ? There is COMPILE/NOCOMPILE option I recall..umm..give me some time, I'll get back to You. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
Back to top |
|
|
agkshirsagar
Active Member
Joined: 27 Feb 2007 Posts: 691 Location: Earth
|
|
|
|
@OP:Such compiler option does not exist.
But you should read implications of COMPILE option.
Code: |
COMPILE
Generates code unless a severe error or unrecoverable error is detected. Equivalent to NOCOMPILE(S). |
Quote: |
Error (E) 8 To indicate a condition that is definitely an error. The compiler attempted to correct the error, but the results of program execution might not be what you expect. You should correct the error.
Severe (S) 12 To indicate a condition that is a serious error. The compiler was unable to correct the error. The program does not run correctly, and execution should not be attempted. Object code might not be created.
Unrecoverable (U) 16 To indicate an error condition of such magnitude that the compilation was terminated. |
Compiler can continue even after level E error is encountered but not after level S or U (which you want). So if you remove serious/severe from your question then above is the answer to your question. |
|
Back to top |
|
|
sri_mf
Active User
Joined: 31 Aug 2006 Posts: 218 Location: India
|
|
|
|
maridawson wrote: |
compiler option which does the force full compilation even if in the presence of serious error in COBOL - ? |
which tool are you using for compilation?? |
|
Back to top |
|
|
|