what is difference between Static call and Dynamic call?
How does it function?
Answer Posted / girish kumar
STATIC CALL DYNAMIC CALL
1. call with in the program is 1. call outside of the prog
called static call is called dynamic call.
2. Main program and sub program 2. Main program and sub-
both are stored in same load program stored in
module. different load
modules.
3. It will reserve some space to 3. It doesn't reserve
sub-program before the space for sub-prog
execution. before the execution
By the load module we can identify weather static
call or dynamic call, both main and sub programs stored
in same load module that is main program.
| Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
When a COBOL-DB2 program in PRODUCTION is updating main tables and gone for long run, what have to do?
What is the physical storage length of date data type?
How do I delete a table in database?
What is a page in db2?
What are db2 tables?
I have a subprogram B calling from mainprogram A.I have opened a cursor in A ,Can i fetch the same cursor in subprogram B , If yes , Please explain the reason?
How to find the number of rows in db2 tables?
Mention the various locks that are available in db2.
Which component is responsible for db2 startup and shutdown?
What is runstats and reorg in db2?
by using cursors , we can access particular records from the table based on some condition, i want to delete those selected records, how can we write a query for this in the program?
Why cursor is used in db2?
Mention some fields that are a part of sqlca.
What is buffer pool in the db2 database?
Define check constraint.