What are differences between Static Call and Dynamic Call?

Answer Posted / ananta bajpai

1.Static call is that in which programe is directly called
by its name. where as Dynamic call is that in which
programe called by a variable name.e.g programe name is
moved into a variable and that variable is used in call
statemant like
working-storage section.
01 var pic x(4) value 'call1'.
.
.
procedure division.
call var.......
Note ; programe name must be given in working-storage
section.
2.static call linked at complie time where as dynamic call
at run time
3.in static call called programe never come into initiall
state after one time run.There is alway requried to complie
every time for new task .Instead of this dyanmic call call
programe always in initiall state

Is This Answer Correct ?    12 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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?

1230


Why did you choose to work with ibm mainframe cobol programming?

631


What rules are to be followed while using the corresponding options?

641


How can you get the ksds file records into your cobol program?

644


What type of SDLC u followed? Why?

1520






What is the difference between PIC 9.99 and PIC9v99?

782


What is the difference between binary search and sequential search?

643


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1846


How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

648


how do you reference the variable block file formats from cobol programs

688


i need a small 3d program using inline and outline.

1640


When is inspect verb is used in cobol?

678


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

744


how do you reference the printer file formats from cobol programs

666


What is the difference between goback, stop run and exit program in cobol?

932