Cobol Question:
Download Job Interview Questions and Answers PDF
What is the difference between a DYNAMIC and STATIC call in COBOL?
Answer:
To correct an earlier answer: All called modules cannot run standalone if they require program variables passed to them via the LINKAGE section. Dynamically called modules are those that are not bound with the calling program at link edit time (IEWL for IBM) and so are loaded from the program library (joblib or steplib) associated with the job. For DYNAMIC calling of a module the DYNAM compiler option must be chosen, else the linkage editor will not generate an executable as it will expect u address resolution of all called modules. 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.
Download Cobol Interview Questions And Answers
PDF
Previous Question | Next Question |
What is the difference between PIC 9.99 and 9v99? | How can I tell if a module is being called DYNAMICALLY or STATICALLY? |