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 / 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 / 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 / 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 do you define a variable of comp-1 and comp-2?

0 Answers  


I have two questions here. 1. How to read a flat file in reverse order? 2. How to read a VSAM KSDS file in reverse order? In both the cases we donot know the total number of records.

1 Answers   L&T,


The following entries appear in the WORKING-STORAGE SECTION: 01 DATE-TODAY. 05 YY PIC XX VALUE "90". 05 MM PIC XX VALUE "12". 05 DD PIC XX VALUE :31". 01 DATE-EDIT PIC XX/XX/XX. MOVE DATE-TODAY TO DATE-EDIT. (a) 901231 (b) 90/12/31 (c) 31/12/90 (d) 311290

4 Answers   TCS,


What is a report item?

0 Answers  


Can we use icetool in cobol program?

3 Answers  


how to remove leading spaces and zeroes in a cobol variable.is there any easy way to do it

2 Answers  


How to read a record from bottom of a file which is indexed by 'A'.

4 Answers   Oracle,


can we declare s9(9)v9(9) in cobol ? if yes how many bytes it will occupy ?(urgent plz answer it)

13 Answers   CTS,


How do u sort the table for Search ALL? Is it only using ASCENDING KEY IS statement in occurs clause? If the data is input in non ascending order, will the ASC KEY IS automatically sort the data? or will it throw compile time error?

1 Answers   CTS,


I know my query will return more than one row but I don't want cursor what should I do?

1 Answers  


What type of Call you would use if you don;t want the control back to the calling program?

8 Answers   TCS,


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

0 Answers  


Categories