Compiling API exits on IBM i
Compiling API exits on IBM® i.
An exit is created as follows (for a C language example):
- Create a module using CRTCMOD. Compile it to use teraspace by including the parameter
TERASPACE(*YES *TSIFC). - Create a service program from the module using CRTSRVPGM. You must bind it to the service program QMQM/LIBMQMZF_R for multithreaded API exits.