Writing Your Own Exit

If you want to employ the additional functionality available via a user-supplied exit, you must write your own exit.

To write a user-supplied exit, you must do the following:

  1. Determine what you want the exit to do.
  2. Determine which Optim™ exit points that call your exit are suitable for what you want to do.
  3. Write the appropriate code to respond to those exit points within your user-supplied exit.

After you create an exit, you must compile, link, and copy the exit to the bin directory in which Optim is installed, before you can sign it. The same is true when you modify an exit. If a signed exit does not exist, you cannot use Optim. (See the Optim Initialization Exit Programmer's Guide for more information on creating a user-supplied exit.)



Feedback