A dynamically loadable file can be created as a callable shared object from any COBOL source file.
You can create callable shared objects by using the -z flag, as follows:
cob -z filenames
where filenames is a list of the COBOL files to be linked.