|
View previous topic :: View next topic
|
| Author |
Message |
vamseepotti
New User
Joined: 21 Oct 2003 Posts: 45
|
|
|
|
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 |
|
 |
mcmillan
Site Admin

Joined: 18 May 2003 Posts: 1213 Location: India
|
|
|
|
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 |
|
 |
mdtendulkar
Active User

Joined: 29 Jul 2003 Posts: 237 Location: USA
|
|
| Back to top |
|
 |
mmwife
Super Moderator

Joined: 30 May 2003 Posts: 1592
|
|
|
|
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 |
|
 |
babujjj
New User
.jpg)
Joined: 19 Mar 2005 Posts: 4 Location: Hyderabad
|
|
|
|
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 |
|
 |
|
|