How can I tell if a module is being called DYNAMICALLY or
STATICALLY?

Answers were Sorted based on User's Feedback



How can I tell if a module is being called DYNAMICALLY or STATICALLY?..

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

How can I tell if a module is being called DYNAMICALLY or STATICALLY?..

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

How can I tell if a module is being called DYNAMICALLY or STATICALLY?..

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

Post New Answer

More COBOL Interview Questions

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.

6 Answers   Accenture,


What will happen if we move SPACES to numeric field and ZEROES to alphabetic field?

7 Answers   T systems,


What is difference between comp & comp-4?

6 Answers  


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?

1 Answers  


What is static and dynamic call in cobol?

1 Answers  


if you give cylinder(1,1)how many cylinders it will be allocate?

3 Answers   Hewitt,


If we use GO BACK instead of STOP RUN in cobol?

1 Answers   Temenos,


How do you get the data to code the BMS macro?

1 Answers   IBM,


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)?

1 Answers   CGI,


what is ASRA, AEY9?

2 Answers   IBM,


I have a File that has duplicate records. I need only those records that occur more than thrice.?

4 Answers   IBM, Wipro,


Categories