What is the difference between static call & Dynamic call?
Answers were Sorted based on User's Feedback
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 |
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 |
If A>B next sentence end-if display 1 display 2. display 3. If a>b, it will display only 3.(the next sentence, ie., after fullstop/period) ____________________________________ if a>b continue end-if display 1 display 2. display 3. If a>b, it Will display 1 2 3 (the next statement) ____________________________________ if a>b continue display 1 end-if display 2 display 3. display 4. If a>b, Will it display 2 3 4 (or) 1 2 3 4 ?
Consider the following: 77 A PIC 9(10) 77 B PIC 9(10) 77 C PIC 9(19) MULTIPLY AB BY B GIVING C Which of the following is true ? (a) The execution of the above may result in size error. (b) The execution of the above will result in size error. (c) The definition of C is invalid resulting in compilation error. (d) No error will be thee and the program would proceed correctly.
using redefine can you redefine lower variable size to higher variable size?
in a indexed file what is procedure for read the records from 12 to 18. please give the code example
What is Pic 9v99 Indicates in COBOL?
0 Answers SwanSoft Technologies,
given the following piece of code: CALL SUB-PGM USING A, B, C. CALL SUB-PGM USING A, C, C. (a) Both CALL statements will always produce same result. (d) Both CALL statements may produce different result. (c) Compile-time error because SUB-PGM is a dataname. (d) Compile-time error because A, B, C are used twice.
What does the INITIALIZE verb do?
What will happen if you code GO BACK instead of STOP RUN in a stand-alone COBOL program i.e. a program which is not calling any other program ?
PERFORM ACCUMULATE-TOTALS VARYING A FROM 1 BY 2 UNTIL A >2 AFTER B FROM1 BY 1 UNTIL B>2 AFTER C FROM 2 BY -1 UNTIL C<2 How many times the paragraph ACCUMULATE-TOTALS would be exicuted?
How to display the index.(displacement from an array)
input:-AABBCCDDEFGHIIJ output:- ABCDEFGHIJ Here in input we hav the duplicate characters i.e repeating characters.SO we should eliminate the duplicate characters and should display the output in ascending order.
what are the isolation levels and where we use it in the db2 program