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

What is compiler option?


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sandy_mcs

New User


Joined: 01 Apr 2006
Posts: 17
Location: Pune

PostPosted: Tue Jul 18, 2006 4:38 pm
Reply with quote

I want to know what is a "compiler option" and how one can use it in practice.
Back to top
View user's profile Send private message
Hanfur

Active User


Joined: 21 Jun 2006
Posts: 104

PostPosted: Wed Jul 19, 2006 5:08 pm
Reply with quote

Your programme once finshed should be transalated to some thing which tha mchine understands(Assembly language).For this process we would go for compilation.

Coming to the compilation option there plenty in fact which would be changing(options) with System to System and with versions .

Compile options would be specifying the type of code which your compiling along with other info about running above line or below lines,Array bounderies checking required or not ,in addition to doing the syntax checking etc.

The Compilation steps creates object module which would be subsequently need to undergo a Link edit step to get the actual Load module. when I mean load module that is instruction that computers could understand.

By specifiying a programming language and for specific version you could get the different compiler options just by doing a Google..

-Han.
Back to top
View user's profile Send private message
parikshit123

Active User


Joined: 01 Jul 2005
Posts: 269
Location: India

PostPosted: Fri Jul 21, 2006 11:23 am
Reply with quote

Well, let me put it in simple words.

Every program takes some parameters as input. These parameters might govern the way program does it processing.

Compiler after all is a program.

Compiler options are nothing but parameters being passed to the compiler ( in a way, input to the compiler) to advise/instruct the compiler as to How it should compile the program

There are various compiler option which differs from compiler to compiler, system to system icon_smile.gif
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 -> Mainframe Interview Questions

 


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