What Is the difference between static and dynamic Call in Cobol

Asked by Last Modified  

2 Answers

Learn COBOL

Follow 3
Answer

Please enter your answer

The main difference is when the subprogram is linked to the main program. Static Call When: Linked at compile/link-edit time. Structure: The subprogram is physically "baked into" the main program's executable file. Pros: Faster execution (already in memory). Cons: If the subprogram changes, you must...
read more
The main difference is when the subprogram is linked to the main program. Static Call When: Linked at compile/link-edit time. Structure: The subprogram is physically "baked into" the main program's executable file. Pros: Faster execution (already in memory). Cons: If the subprogram changes, you must re-link the entire application. Dynamic Call When: Loaded at runtime (execution time). Structure: The subprogram remains a separate file and is only called when needed. Pros: Easier maintenance; you only update the subprogram file, not the main program. Cons: Slightly slower initial call due to the "search and load" overhead. read less
Comments

Online Mathematics tutor with 8 years experience(Online Classes for 10th to 12th)

The main difference is when the subprogram is linked to the main program. Static Call When: Linked at compile/link-edit time. Structure: The subprogram is physically "baked into" the main program's executable file. Pros: Faster execution (already in memory). Cons: If the subprogram changes,...
read more
The main difference is when the subprogram is linked to the main program. Static Call When: Linked at compile/link-edit time. Structure: The subprogram is physically "baked into" the main program's executable file. Pros: Faster execution (already in memory). Cons: If the subprogram changes, you must re-link the entire application. Dynamic Call When: Loaded at runtime (execution time). Structure: The subprogram remains a separate file and is only called when needed. Pros: Easier maintenance; you only update the subprogram file, not the main program. Cons: Slightly slower initial call due to the "search and load" overhead. read less
Comments

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Recommended Articles

Whether it was the Internet Era of 90s or the Big Data Era of today, Information Technology (IT) has given birth to several lucrative career options for many. Though there will not be a “significant" increase in demand for IT professionals in 2014 as compared to 2013, a “steady” demand for IT professionals is rest assured...

Read full article >

Software Development has been one of the most popular career trends since years. The reason behind this is the fact that software are being used almost everywhere today.  In all of our lives, from the morning’s alarm clock to the coffee maker, car, mobile phone, computer, ATM and in almost everything we use in our daily...

Read full article >

Microsoft Excel is an electronic spreadsheet tool which is commonly used for financial and statistical data processing. It has been developed by Microsoft and forms a major component of the widely used Microsoft Office. From individual users to the top IT companies, Excel is used worldwide. Excel is one of the most important...

Read full article >

Business Process outsourcing (BPO) services can be considered as a kind of outsourcing which involves subletting of specific functions associated with any business to a third party service provider. BPO is usually administered as a cost-saving procedure for functions which an organization needs but does not rely upon to...

Read full article >

Looking for COBOL Training?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you