This is another question which I founf weird...how can one identify by seeing the program that it is called statically or dynamically? I don't know if there is a way. Both type of sub program will have PROCEDURE DIVISION USING... but will there be something different than this?
After searching I got to know that, if the called program is given in double quotes it is static call, like:
Code: Select all
CALL "sub-program" using some-paramerters
Code: Select all
MOVE "sub-program" to WS-variable.
CALL WS-variable using some-parameters.