How can I find out if a module is called dynamically or statically?

How to find out if a module is called dynamically or statically?

+3
source share
5 answers

If you work on z / OS, you can accomplish this, but this is not trivial.

First you need to trace the chain of save areas and use CSVQUERY to find out which program belongs to each save area. Every other program will be a Cobol runtime module, such as IGZCPAC. In IMS, CICS, TSO, etc. These modules can be different. This is the easy part.

, , OS LOADER/BINDER/LINKER, , . .

+1

- (IEWL) . DYNAMICALLY, , STATICALLY, . , , DYNAMIC. IMPLICITE, . .

0

, , DYNAMIC.

, . variablename DYNAMIC. 'literal' DYNAM/NODYNAM.

. IBM MBB- COBOL, , . COBOL.

0

Micro Focus COBOL ( 3) LITLINK.

/ , , , CASE.

LITLINK - NOLITLINK 3!

Windows .dll "dumpbin/exports" Unix "nm".

.lib .dll, "cbllink", "-" cbllink.

0

. , . , :

      *     Static call
            call "THEPROGRAM"

      *     Dynamic call
            call wsProgramName
0

Source: https://habr.com/ru/post/1715352/


All Articles