Cobol Question:
Download Questions PDF

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

Answer:

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 STATICALLY 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 variable. Calling a program name literal

Download Cobol Interview Questions And Answers PDF

Previous QuestionNext Question
What is the difference between a DYNAMIC and STATIC call in COBOL?What is the point of the REPLACING option of a copy statement?