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

What is NODYNAM and NOOPT parameters in COBOL


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

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Mon Aug 21, 2006 10:33 am
Reply with quote

Hi,

I was scanning some programs and found in the program description that a particular program to be compiled with some option.

Could any one let me know what exactly is the options

NOOPT.

In what scenarios we use NODYNAM.

Thanks,
~Vamsi
Back to top
View user's profile Send private message
parikshit123

Active User


Joined: 01 Jul 2005
Posts: 269
Location: India

PostPosted: Mon Aug 21, 2006 11:42 am
Reply with quote

Hi,

Probably, the following link is usuful.

www.damos.dircon.co.uk/html/compiler_options.html
Back to top
View user's profile Send private message
shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Mon Aug 21, 2006 11:46 am
Reply with quote

Parikshit,

It don't have required information.

~Vamsi
Back to top
View user's profile Send private message
cobolunni

Active User


Joined: 07 Aug 2006
Posts: 127
Location: kerala,india

PostPosted: Mon Aug 21, 2006 1:20 pm
Reply with quote

NOOPT is a compiler option which tells the compiler to not optimise the code . In the case of OPTIMISE the compiler merges and rearranges the statment in the compiled code and the result of optimised is used in the fault analysis
Back to top
View user's profile Send private message
shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Mon Aug 21, 2006 2:02 pm
Reply with quote

hi,

This is what i got,

NOOPT/OPT: This is a Compiler Option for Optimization.

Use OPTIMIZE to reduce the run time of your object program. Optimization might also reduce the amount of storage your object program uses.

Because OPTIMIZE increases compile time and can change the order of statements in your program, you should not use it when debugging.

DYNAM/NODYNAM: This is a Virtual storage usage compiler Option.

Use DYNAM to cause nonnested, separately compiled programs invoked through the CALL literal statement to be loaded (for CALL) and deleted (for CANCEL) dynamically at run time. CALL identifier statements always result in a run-time load of the target program and are not affected by this option.

Restriction: The DYNAM compiler option must not be used by programs that are translated by the CICS translator

~Vamsi
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 Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Generate random number from range of ... COBOL Programming 3
Search our Forums:

Back to Top