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
What is an in line perform? When would you use it? Anything else you wish to say about it.
What is the difference between a binary search and a sequential search what are the pertinent cobol?
When is inspect verb is used in cobol?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
What are the different types of condition in cobol and write their forms.
Which Search verb is equivalent to PERFORM…VARYING?
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?
What is the LINKAGE SECTION used in COBOL?
what happens if parmparameter passes zero bytes to the program
What is static and dynamic call in cobol?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
i want a program using by if, evaluate , string, unstring, perform, occurs?
What guidelines should be followed to write a structured cobol prgm?
) How do u handle errors in BMS macro