Linking in a Third-Party Sort Module

In order to use a third-party sort module with the ACUCOBOL-GT Runtime, you must relink the runtime using the following steps:

  1. Install the third-party sort software.
  2. Refer to the documentation for the EXTSM interface to understand its operation and use.
  3. Make a copy of the lib/Makefile file in your ACUCOBOL-GT installation. You can use this backup copy to ensure that the relink of the runtime works before you make the changes to support the EXTSM interface.
  4. Edit lib/Makefile to enable linking with the third-party sort library, as instructed in the Makefile section, EXTSM configuration.
  5. Execute the make command to relink the runtime..

After creating the new runtime, which includes the third-party sort module, set the USE_EXTSM configuration variable to 1 and then run programs as usual. For more information, refer to Appendix H, Configuration Variables.

You can then run programs with SORT and MERGE verbs run as they normally would. See Procedure Division Statements in the ACUCOBOL-GT Reference Manual for more information.