Using the CEELOAD macro
CEELOAD is used to dynamically load a Language Environment-conforming routine. It does not create a nested enclave, so the target of CEELOAD must be a subroutine.
Some restrictions apply when using CEELOAD to call, fetch, or dynamic
load:
- You cannot fetch or dynamically call a routine that has been fetched by or dynamically called by another language, or has been dynamically loaded by CEELOAD.
- You cannot dynamically load a routine with CEELOAD that has already been dynamically loaded by CEELOAD, or has been fetched or dynamically called by another language.
- You cannot dynamically load a routine with CEELOAD that has been compiled XPLINK.
- The loading of a DFSMS program object with Deferred Load Classes is not supported by CEELOAD.
While CEELOAD supports dynamic loading, in order to provide for loading and deleting a module, the CEEFETCH and CEERELES macros should be used.