Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Why we should compile CICS with NODYNAM option?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
Himanshu Khatri

New User


Joined: 11 Jun 2007
Posts: 15
Location: Pune

PostPosted: Mon Sep 14, 2009 8:56 am    Post subject: Why we should compile CICS with NODYNAM option?
Reply with quote

Hi All,

Why we should compile CICS with NODYNAM option?

As I know each EXEC CICS i translated into a CALL to program 'DFHEI1'. Is it DFHEI1 must be statically linked to CICS program
in order to execute any CICS services?

Thanx & Regards,
Himanshu
Back to top
View user's profile Send private message

arvind.m

Active User


Joined: 28 Aug 2008
Posts: 205
Location: Hyderabad

PostPosted: Mon Sep 14, 2009 11:36 am    Post subject:
Reply with quote

Hi

refer COBOL Z/OS COMPILER V4R1


Quote:

DYNAM

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 runtime load of the target program and are not affected by
this option.)

Default is: NODYNAM

Abbreviations are: DYN┬ŽNODYN

Restriction: The DYNAM compiler option must not be used in the following
cases:

o COBOL programs that are processed by the CICS translator or the CICS
compiler option

o COBOL programs that have EXEC SQL statements and are run under CICS or
DB2 call attach facility (CAF)

If your COBOL program calls programs that have been linked as dynamic link
libraries (DLLs), you must not use the DYNAM option. You must instead
compile the program with the NODYNAM and DLL options.

Back to top
View user's profile Send private message
Himanshu Khatri

New User


Joined: 11 Jun 2007
Posts: 15
Location: Pune

PostPosted: Mon Sep 14, 2009 12:20 pm    Post subject: Why we should compile CICS with NODYNAM option?
Reply with quote

I am still confused icon_confused.gif
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Mon Sep 14, 2009 4:48 pm    Post subject:
Reply with quote

You should compile CICS program with NODYNAM because the manual tells you to. I'm sure IBM has a reason for specifying this, but if they don't tell us what the reason is, who cares -- you follow the manual's advice and do not get concerned about why.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DIrect link of dynam/nodynam nkjain87 COBOL Programming 2 Mon Apr 24, 2017 6:23 pm
No new posts CICS Transaction Timeout Hooman24 CICS 2 Sun Apr 16, 2017 2:16 pm
No new posts DFSORT - Overriding default option TU... Steve Ironmonger DFSORT/ICETOOL 3 Tue Apr 04, 2017 3:54 pm
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts Asynchronous CICS Processing Question moezbud CICS 1 Mon Mar 06, 2017 6:13 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us