Joined: 20 Oct 2006 Posts: 6967 Location: porcelain throne
don't remember why, but I have always found that you need to statically CALL an entry point - can't dynamically CALL an entry point.
really old school. now-a-days everything is CALLed with a copybook
defining FUNCTION, so that the module can control via the FUNCTION code;
doing away with entry point.
is static faster? initial CALL a little;
but since dynamically CALLed modules stay resident (no need to load for the second CALL) there is no difference between the second dynamic CALL and a static CALL;
and with todays computing power,
Dynamic CALL overhead is not really an issue -
unless of course the rest of the application is so badly written that you need
to save on every cycle.