Rational Developer for System z
Enterprise COBOL for z/OS, Version 4.1, Programming Guide


Search order for DLLs in the HFS

When you use the hierarchical file system (HFS), the search order for resolving a DLL reference in a CALL statement depends on the setting of the Language Environment POSIX runtime option.

If the POSIX runtime option is ON, the search order is as follows:

  1. The runtime environment looks for the DLL in the HFS. If the LIBPATH environment variable is set, the run time searches each directory listed. Otherwise, it searches just the current directory. The search for the DLL in the HFS is case sensitive.
  2. If the runtime environment does not find the DLL in the HFS, it tries to load the DLL from the MVS load library search order of the caller. In this case, the DLL name must be eight characters or less. The run time automatically converts the DLL name to uppercase for this search.

If the POSIX runtime option is set to OFF, the search order is reversed:

  1. The runtime environment tries to load the DLL from the search order for the load library of the caller.
  2. If the runtime environment cannot load the DLL from this load library, it tries to load the DLL from the HFS.

related references  
Language Environment Programming Reference (POSIX)


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)