Under which scenario you would go for a static call as
opposed to dynamic call?
Answers were Sorted based on User's Feedback
Answer / shailesh_do
Again I believe there is performance factor involved apart
from compilation overhead for static calls.
Performance wise static call stands better than dynamic
calls as load need not to be linked at every execution for
static calling.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / preeti
If you have less storage space then you can use static call
at the place of dynamic call.
| Is This Answer Correct ? | 5 Yes | 3 No |
Answer / lu
it's up to you....
Static call ==> when u modify the called program, you have
to recompile 3 programs (called and calling program.....
Dynamic call ===> when u modify the called program, u
recompile only the called program...
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / suputhru
If you have less storage space then you can use static call
at the place of dynamic call.
Performance wise static call stands better than dynamic
calls as load need not to be linked at every execution for
static calling.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / rajesh
If you want to execute all the subprograms with the caling
program every time U ve to go for static call.
| Is This Answer Correct ? | 0 Yes | 3 No |
What is the difference between write & move in COBOL?
How does IDMS insure data integrity?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
how many subpgms we can use in a main pgm ? how do u link sub pgm to main pgm ? how can i use the parameters declared in main pgm to sub pgm ?
How do you submit JCL via a Cobol program?
What is the maximum size of a 01 level item in COBOL I? in COBOL II?
01 a pic 9(9v99) 01 b pic 9(9.99) wht will be the stored vales in both cases
How do you do in-line PERFORM?
A cobol program to read a file , match it with other if. If match occurs then write it to an output file. If no match then no need to write it.Error log created by program to track any error.
What is the difference between subscript and index?
i have variable record in the 5th, i want to sort from 5th filed ? how ?
consider two data items 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move