View previous topic :: View next topic
|
Author |
Message |
new2cobol
New User
Joined: 04 Jan 2006 Posts: 77 Location: Bangalore
|
|
|
|
I have specific compiler andlink-edit options to be used to compile my cobol code.
Is there a way to specify the compiler and link-edit options in the cobol code itself so that I need not bother about this while compiling? |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Don't know about Link-Editing, but you can use Compiler options in your COBOL source (aka Directives).
O. |
|
Back to top |
|
|
new2cobol
New User
Joined: 04 Jan 2006 Posts: 77 Location: Bangalore
|
|
|
|
Thanks a lot!
Where do we place this in the code? is it above the identification division? |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
The general rule is to place them immediatly before the 1st stmt of the pgm (the ID stmt). There are some 3rd party s/w products that require their own cntl stmts before the pgm code. You may have to experiment to determine what the pecking order might be. |
|
Back to top |
|
|
|