Interview Questions

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

COBOL Interview Questions


(Continued from previous question...)

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

The ONLY way is to look at the output of the linkage editor (IEWL) or the load module itself. If the module is being called DYNAMICALLY then it will not exist in the main module, if it is being called STATICCALLY then it will be seen in the load module. Calling a working storage variable. containing a program name, does not make a DYNAMIC call. This type of calling is known as IMPLICITE calling as the name of the module is implied by the contents of the working storage cariable. Calling a program name literal (CALL

(Continued on next question...)

Other Interview Questions