which one is better among static call and dynamic call?
Answers were Sorted based on User's Feedback
Answer / sab
Which one to use is depends on the situation.
If your code is small then its better to use static call as
it also speed up performance and it will be easy to track
the versions in small code.
If you are working with large number of subroutines, its
always good to use dynamic linking as it will save storage
space as well as will maintain versions of code easily.
Satisfied with answer...???
| Is This Answer Correct ? | 11 Yes | 0 No |
Answer / lu
static call is faster than dynamic call, but when you
modifies a called program, you have to recompile a called
program and calling program...
dynamic call , you don't need to recompile 2 programs
calling and called...it's independent..
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / ps
call in which the called program and the calling program are
compiled and link edited together to create one load module
is static call.
call in which the calling and called program are compiled
and link edited separatly to create two load module is
dynamic calling.In dynamic calling if someone is sharing we
have to wait
| Is This Answer Correct ? | 0 Yes | 0 No |
what is rediffine clause?in what situation it can use?give me real time example?
if a dataset is already created with fixed length but after that i want to change fixed length to variable length then how is it possible
Please let me know at which Scenarios we will go for STATIC call or DYNAMIC
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
Is it possible to mutliply a comp variable with an comp-3 variable. Will there be any error if i do it?
Suppose a program has the following code. What will be the output? MAIN-PARA. DISPLAY 'MAIN-PARA' PERFORM SECTION-A. STOP RUN. SECTION-A. PARA-A1. DISPLAY 'SECTION A PARA A1'. PARA-A2. DISPLAY 'SECTION A PARA A2'.
How do u find the programs calling the given module, without having doing 3.13 on loadlib/source library?
should I use Go back in the main program ? Yes we can use Go back in main program as well.
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 ?
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 ??
Consider the below example call a-test1. -- -- -- a-test1. if a=b perform a-test through a-exit next sentence else if b=c perform c-test through c-exit. if a=d perform d-test through d-exit. a-test. -- -- a-exit. exit. can u tell me what will happen if a=b after looping into a-exit will the control go back to a- test1. will the condition a=d be checked???
For rewrite, why is it mandatory that file needs to be opened?