After a shared library has been loaded, any of its exported routines can be called. For example:
CALL "sharedfunction"
By default, the runtime first attempts to find a COBOL program with a matching name. To do this, the runtime can apply several extensions and look in several locations. Only if all of those attempts fail does the runtime attempt to locate the function in the current process or in one of the loaded shared libraries. However, you can use the DYNAMIC_FUNCTION_CALLS configuration variable to specify a list of functions or function name prefixes that the runtime will treat as dynamic functions, which it searches before searching the disk for COBOL programs. See DYNAMIC_FUNCTION_CALLS for more information.