Thursday, November 20, 2008

Difference between static and dynamic call in COBOL

Hi,

Lets start with one of the most common questions for a cobol beginner.

What does static and dynamic call mean in COBOL?
How do we use these calls?
Which call is better Static or dynamic ?

Below is the answer for all your queries :
All about static and dynamic calls in cobol

Please do provide your comments or reactions for this post.

Thanks,
-Kaps

2 comments:

Unknown said...

My team at work is trying to figure out whether it would be a good idea to change from using a 'Static' call to using a 'Dynamic' call.

The program types are Cobol using DB2 and my concern is which call handles abends more efficiently when a roll back of the table(s) is neccessary.

How does each "call' handle a rollback using DB2 tables.

Example:
1. Would a 'Static' roll back all tables that were used in all called programs?
2. Would a 'Dynamic' roll back all tables that were used in all tables throughout all programs or because its a dynamic call the roll back would only occur in the one program where the abend occurred. Which could cause a problem with DB2 tables being incorrect.

Appreciate your help and look forward to helpful answers.

JDB - Charlotte, NC

Kaps said...

Hi,

below are few links which may help you on Calls.

http://publib.boulder.ibm.com/infocenter/cicsts/v3r1/index.jsp?topic=/com.ibm.cics.ts31.doc/dfhp3/dfhp3p9.htmI have done bit of research on static and dynamic calls; on their efficieny; memmory allocation; compilation; debugging and code modifications.

I haven't thought much about DB2 resources. How will the calls make difference to DB2.

I will try and do some research on this topic; will surely let you know once I find something.

Please let me know, if you find something useful

Thanks,
-Kapil.