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
 

 

How to find static called and dynamic called programs?

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

New User


Joined: 21 Oct 2003
Posts: 45

PostPosted: Sun Feb 15, 2004 10:35 pm    Post subject: How to find static called and dynamic called programs?
Reply with quote

We have some statically called programs and dynamically called programs r there? So how can we find its is static or dynamic called programs?

Regards,
Vamsee.
Back to top
View user's profile Send private message

mcmillan

Site Admin


Joined: 18 May 2003
Posts: 1202
Location: India

PostPosted: Sun Feb 15, 2004 10:50 pm    Post subject: Re
Reply with quote

Dear,

Dynamically called programs can be identified by their CALL statement.

Usually they use a variable instead of the called program name(in CALL statement)... The value of this variable should be passed dynamically at run time.

The Dynamic programs must be compiled with DYNAM compiler option..(if it's not coded in your JCL, it should be the default on your site)
Back to top
View user's profile Send private message
mdtendulkar

Active User


Joined: 29 Jul 2003
Posts: 238
Location: USA

PostPosted: Mon Feb 16, 2004 11:22 am    Post subject:
Reply with quote

Hello vamseepotti,


See the topic discussed below for more details.

http://ibmmainframes.com/expertforum/viewtopic.php?t=91

Hope this helps,

Regards

Mayuresh Tendulkar
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Mon Feb 16, 2004 9:39 pm    Post subject:
Reply with quote

Hi vamseepotti,

As my post in the thread referenced above notes, CALL 'literal' is NOT a reliable indicator of a "static" call.

Regards, Jack.
Back to top
View user's profile Send private message
babujjj

New User


Joined: 19 Mar 2005
Posts: 4
Location: Hyderabad

PostPosted: Tue Mar 22, 2005 2:41 pm    Post subject: Re: How to find static called and dynamic called programs?
Reply with quote

By seeing the prg we can classify that a prg is statically or dynamically in 2 ways they are

1. By observing the CALL Statement wether the parameter is declared dynamically or statically.
2.By observing the size of the load module.Static call size is more than Dynamic Call.
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 REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
No new posts How to find the first monday of the w... abdulrafi COBOL Programming 10 Fri Nov 25, 2016 3:24 pm
No new posts Cobol list of programs being called biswajit.dattagupta COBOL Programming 5 Tue Nov 01, 2016 2:10 am


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