This section describes how to sign a user-supplied exit in UNIX.
If your company requires the additional functionality available via a user-supplied exit, you can create your own exit, and then sign that exit as your Optim™ exit. (See the Optim Initialization Exit Programmer's Guide for detailed information about how to write an exit.)
This section describes the user-supplied exit prerequisites.
Before you can sign a user-supplied exit, you must do the following:
This section describes how to run the opmusign script.
As part of setup, Optim places the script file, opmusign, in the rt/sbin directory. You can run the opmusign script at any time following setup to sign a user-supplied exit. (The letter “u” in the script name indicates it is used to sign a user-specified exit.)
The syntax for opmusign is as follows:
opmusign install_directory/rt [Company Id] [Name [Password] ]
The following examples show three different ways of using the opmusign script to sign a user-supplied exit, following Optim installation. In all three examples, the path for the Optim installation directory is /users/roberts/rtinstalled.
This section includes an example of signing a user-supplied exit.
Do the following to sign your user-supplied exit after installation:
This section includes another example of signing a user-supplied exit.
As in Example # 1, shut down the Optim Server if it is running, and then specify the directories explicitly, as indicated on the first line of the following example.

This section includes another example of signing a user-supplied exit.
Do steps 1 and 2 in Example # 1 (that is, shut down the Optim Server if it is running and then change to the /users/roberts/rtinstalled/rt directory). Then run the opmusign script in the rt/sbin subdirectory, but specify all of the parameters explicitly, enclosing the company name in double quotation marks, as shown in the following example.
