what is difference between Static call and Dynamic call?
How does it function?



what is difference between Static call and Dynamic call? How does it function?..

Answer / 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

More DB2 Interview Questions

where can we use index and subscript ? with example ?

3 Answers   CTS,


Why do we need to create an alias if we can directly use the table name? What are the benefits of referring a table name by its alias? Also, when should we go for alias and when for synonyms?

1 Answers  


Can we use select query in a loop to fetch multiple rows in a COBOL PROGRAM? If so, what is the advantage of cursor?

1 Answers   UST,


How many sub queries can you combine together ?

4 Answers   IBM,


how to delete perticular row from table for ex. how you will delete 3rd row from table please answer THANKS IN ADVANCE

10 Answers   IBM,






How do you declare a host variable (in COBOL) for an attribute named emp-name of type VARCHAR(25) ?

2 Answers   IBM, Tech Mahindra,


how to resolve -811

2 Answers   IBM,


How many buffer pools are available in db2?

2 Answers  


What is the default page size of buffer pools?

0 Answers  


What is db2 catalog database?

0 Answers  


How do you leave the cursor open after issuing a COMMIT? (for DB2 2.3 or above only)

2 Answers  


in GDG: is it poosible to copy records from a file which utilizes some 100 cylinders to a gdg whose model is defined as trk(1,0) and also it possible to copy 100 bytes file to 80 bytes file?

1 Answers   IBM,


Categories