Skip to main content

This article contains information on how to resolve a COBOL procedure error 213 when loading a non-Cobol subprogram library.

Problem:

When loading a non-COBOL (C or C ) subprogram library with the RM/COBOL Runtime, you receive a COBOL Procedure error 213.

Resolution:

This error normally occurs when the RM/COBOL Runtime is unable to locate the non-COBOL library’s dependent modules. The Runtime relies upon the operating system to load and locate dependent modules. Therefore you must properly configure your operating system’s environment in order to located dependent modules.

The following is a list of operating systems and their dependent module search method.

Windows:

- PATH environment variable and the current working directory.

AIX:

- LIBPATH and /usr/local/lib

HP-UX:

- SHLIB_PATH and /usr/local/lib

Intel UNIX System V Release 4, Linux, SCO OpenServer 5, SCO System V Release 5 (UnixWare 7.1.1 or later and SCO OpenServer 6), and Sun Solaris SPARC and Intel x86:

- LD_LIBRARY_PATH and /usr/local/lib

Old KB# 14876