How can I tell if a module is being called DYNAMICALLY or
STATICALLY?
Answers were Sorted based on User's Feedback
Answer / dev
also the method of calling is differnt in cobol code also
static call
call 'pgmname'
dyanmic call
call identifier eg call pgmvar
where pgmvar is a working storage variable having the pgm
name
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / sudha
If there is DYNAM compiler option then the module is
dynamically called. A STATICally called module is one that
is bound with the calling module at link edit, and
therefore becomes part of the executable load module.
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / arun
Answer 1 is exact. calling a program using working-storage
variable is implicit call and it does not make a dynamic
call.
| Is This Answer Correct ? | 8 Yes | 0 No |
How to replace the GOTO statement in COBOL without changing the structure of program. e.g. consider following code... I.D. E.D. D.D. P.D. compute C = A + B. GOTO para 100-display. compute D = C - D. GOTO 200-display. some other logic...... ........ GOTO 300-para. ...... ...... GOTO 400-para. Now I want to replacce all GOTO statements without changing the structure and otput of program.
What will happen if we move SPACES to numeric field and ZEROES to alphabetic field?
What is difference between comp & comp-4?
When search all is used in cobol program without sorted input data?
6 Answers CGI, Principal Finance,
what is index and how to use two tables using index?
What is static and dynamic call in cobol?
if you give cylinder(1,1)how many cylinders it will be allocate?
If we use GO BACK instead of STOP RUN in cobol?
How do you get the data to code the BMS macro?
How can I find the maximum value of a field in a file while reading the file dynamically? without using sort function. Suppose i have a file with fields Timestamp, description, teamname, teamnumber.. i have read the file till end and find the maximun value of timestamp which is not in sorted order.. can we use function max(timestamp)?
what is ASRA, AEY9?
I have a File that has duplicate records. I need only those records that occur more than thrice.?