IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Compiler option for forcefull compilation.


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
maridawson

New User


Joined: 24 Jun 2008
Posts: 59
Location: chennai

PostPosted: Fri Aug 01, 2008 9:55 am
Reply with quote

compiler option which does the force full compilation even if in the presence of serious error in COBOL - ?
Back to top
View user's profile Send private message
Srihari Gonugunta

Active User


Joined: 14 Sep 2007
Posts: 295
Location: Singapore

PostPosted: Fri Aug 01, 2008 11:06 am
Reply with quote

By the way, What are you going to achieve by suppressing a serious error?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Fri Aug 01, 2008 11:08 am
Reply with quote

Quote:

force full compilation even if in the presence of serious error in COBOL - ?


does not exist.
Back to top
View user's profile Send private message
maridawson

New User


Joined: 24 Jun 2008
Posts: 59
Location: chennai

PostPosted: Fri Aug 01, 2008 11:12 am
Reply with quote

i just need to know that compiler option .......

@Srihari ...... this is a quiz question .....
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri Aug 01, 2008 12:13 pm
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri Aug 01, 2008 12:18 pm
Reply with quote

Hi,

And here is something intresting..

publib.boulder.ibm.com/infocenter/ratdevz/v7r1m1/index.jsp?topic=/com.ibm.etools.cbl.win.doc/topics/rpclr30.htm
Back to top
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 691
Location: Earth

PostPosted: Fri Aug 01, 2008 3:03 pm
Reply with quote

@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
View user's profile Send private message
sri_mf

Active User


Joined: 31 Aug 2006
Posts: 218
Location: India

PostPosted: Fri Aug 01, 2008 3:39 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts How I Found a Bug in a FORTRAN Compiler All Other Mainframe Topics 4
No new posts SCOPE PENDING option -check data DB2 2
No new posts OUTFIL with SAVE option DFSORT/ICETOOL 7
No new posts CICS vs LE: STORAGE option CICS 0
No new posts INSYNC option with same function as I... JCL & VSAM 0
Search our Forums:

Back to Top