z/OS Communications Server: IP Programmer's Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Compiling and linking RAPI applications

z/OS Communications Server: IP Programmer's Guide and Reference
SC27-3659-02

This topic describes the steps of using the RAPI applications.

Procedure

To use the RAPI interface, an application must perform the following steps:

  1. Include the <rapi.h> header file, which is available in the /usr/include directory.
  2. Compile the application with the DLL compiler option. See z/OS XL C/C++ User's Guide for more information about how to specify compiler options.
  3. Include the RAPI definition side deck (rapi.x), which is available in the /usr/lib directory, when prelinking or binding the application.
  4. If the Binder is used instead of the C Prelinker, specify the Binder DYNAM=DLL option. See z/OS MVS Program Management: User's Guide and Reference for information about specifying Binder options.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014