What is the difference between static call & Dynamic call?

Answers were Sorted based on User's Feedback



What is the difference between static call & Dynamic call?..

Answer / seena s

Static call -> the subpgm gets linked to the mainprogram
during compilation .

Dyanic call-> subprogeam gets linked to mainprogram during
run-time (execution).
Menory is utilised effectively in a Dynamic call.

Is This Answer Correct ?    7 Yes 0 No

What is the difference between static call & Dynamic call?..

Answer / ms. stanley

When the Subprogram (Subroutine) Name is specified at
Run-time its called as Dynamic Call.
When the Subprogram (Subroutine) Name is pre-defined, its
called as a static call.

Is This Answer Correct ?    2 Yes 3 No

Post New Answer

More COBOL Interview Questions

What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

0 Answers  


What are the situations u have used in ur project for Subcript and Index ? 1.if u use Subscript why not Index,why u choose Subscript only? 2.if u use Index why not Subscript,what abt Displacement?

2 Answers   Cap Gemini,


What kind of error is trapped by on size error option?

0 Answers  


What are the different rules for performing sort operation?

0 Answers  


A table has two indexes defined. Which one will be used by the SEARCH?

0 Answers  


i have the job which has written updated 100 records into the table and for 101th record it got abended and i want to start the job again and should wirte from 101th record not from 1st record..how to do it..?

6 Answers  


Which Search verb is equivalent to PERFORM…VARYING?

0 Answers  


I have a Flat file in which certain records are present in a tabular format. I need to extract some of the records on some basis from it and copy them into a flat file...how it can be done ??

2 Answers   HCL,


01 x pic s9(8) comp. How will the following value be internally allocated '18787'

4 Answers   Steria,


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

0 Answers   HCL,


Program A calls program B. Will the working storage variables declared in program B be initialized every time it is called by program A or will the values be retained until the end of program A?

7 Answers  


01 a pic 9(3) value is 123 01 b pic 9(6) move a to b wht will be the value ? and 01 a pic x(6) value is abc 01 b pic x(3) move a to b wht will be the value ?

7 Answers   Patni,


Categories