A DLL in the BS2000 environment is a BS2000 LMS library containing the functions called as external procedures. When EXTPROC
is loaded, these functions are dynamically linked to the program.
Use the following command to identify your library to Oracle:
CREATE LIBRARY my_c_library AS '$myuserid.my-modlib';
The external C routine must be compiled and the generated LLM must be stored in the LMS library. If you set the MODULE-PROPERTIES
option LOWER-CASE-NAMES
=*NO
, during compilation with the BS2000 C compiler CPP, then all lowercase letters in the entry names are converted to uppercase.
Also, if you set the MODULE-PROPERTIES
option SPECIAL-CHARACTERS
=*CONVERT-TO-DOLLAR
, then all underscores (_
) in the entry names are converted to dollar signs ($
), which must be considered when publishing the external procedure.