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
 

 

To Find dynamic or static call from its load module

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
maverick05

New User


Joined: 14 Apr 2005
Posts: 54
Location: Earth

PostPosted: Sun May 15, 2005 9:33 pm    Post subject: To Find dynamic or static call from its load module
Reply with quote

Hi,

How to find whether a module is called dynamically or statically from its load module.

I don't have the source with me. I want to know programs which are being called dynamically by this load module.

Thanks
Venkat
Back to top
View user's profile Send private message

priya

Moderator


Joined: 24 Jul 2003
Posts: 568
Location: Bangalore

PostPosted: Sun May 15, 2005 11:33 pm    Post subject:
Reply with quote

Quote:
I want to know programs which are being called dynamically by this load module.


Check the run time messages.
Back to top
View user's profile Send private message
maverick05

New User


Joined: 14 Apr 2005
Posts: 54
Location: Earth

PostPosted: Sun May 15, 2005 11:37 pm    Post subject: Re: To Find dynamic or static call from its load module
Reply with quote

Nope,i didn't find any static ,dynamic related messages
Back to top
View user's profile Send private message
priya

Moderator


Joined: 24 Jul 2003
Posts: 568
Location: Bangalore

PostPosted: Sun May 15, 2005 11:47 pm    Post subject:
Reply with quote

Run without DYNAM option. If No error, then Static Call. Or Dyamic Call.
Back to top
View user's profile Send private message
notonly4u

New User


Joined: 26 Apr 2005
Posts: 87
Location: Hyderabad

PostPosted: Mon May 16, 2005 10:41 am    Post subject:
Reply with quote

Dear maverick05,

If it is static call, The load module of the called program will also be stamped together with the calling program's Load Module. This means if we are making changes to the sub program we have to compile both the calling and called pgms.

Whereas in dynamic call the load modules will be seperate and if any change to the sub pgm, then only the subroutine needs recompilation since it is going to called dynamically and the load modules are separate.

Hope this gives yu some idea. If yu have any queries...please let me know.

Regards
Tanden
Back to top
View user's profile Send private message
nave

New User


Joined: 16 May 2005
Posts: 10
Location: bangalore,india

PostPosted: Mon May 16, 2005 5:57 pm    Post subject:
Reply with quote

me too agree with the above answer,that is 'Run without DYNAM option. If No error, then Static Call. else Dyamic Call
Back to top
View user's profile Send private message
David P

Active User


Joined: 11 Apr 2005
Posts: 106
Location: Cincinnati Ohio

PostPosted: Tue May 17, 2005 9:48 am    Post subject:
Reply with quote

Hi,
Is there any DYNAM option while running, I believe its there while compiling the source. I am not sure about the DYNAMIC calls but the
statically called modules can be seen embeded in the load module of
calling program.

regards,
David.
Back to top
View user's profile Send private message
swaran_msc

New User


Joined: 19 May 2005
Posts: 5
Location: Bangalore

PostPosted: Thu May 19, 2005 12:50 pm    Post subject:
Reply with quote

We could identify Call type using Compiler option Dynam or Nodynam.

Even If you specify Nodynam in Compiler Option it will be taken as Dynam only.

Corrections are Welcome...
Back to top
View user's profile Send private message
subhasis_50

Moderator


Joined: 09 Mar 2005
Posts: 363
Location: Earth

PostPosted: Thu May 19, 2005 4:33 pm    Post subject: Re: To Find dynamic or static call from its load module
Reply with quote

Hi,
The DYNAM or NODYNAM OPTIONS are getting used in the time of compilation time. Those options are not used in run time.
If you have the load module, open that member in INSYNC. In that you will found the name of the prog which are statically linked. The members which are statically linked present in the main load module. That is it is already loaded in the main memory during the time of execution.

For Dynamically load module, u can not see the name of the programs in the main load module. Those are taken into consideration during the execution time. That time those are loaded in the main memory.

For standalone prog NODYNAM and DYNAM have the same meaning.
Back to top
View user's profile Send private message
samchris

New User


Joined: 31 May 2005
Posts: 26
Location: pune

PostPosted: Tue May 31, 2005 6:20 pm    Post subject:
Reply with quote

by checking the load module in the hewl.if it's static it contain some value & if it is dynamic it won't contain any value.
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Dump analysis of an assembler module monica1 PL/I & Assembler 4 Tue May 09, 2017 10:05 am
No new posts find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts Copy load modules and alias vasanthz IBM Tools 5 Thu Apr 20, 2017 6:31 am


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