3.2.5 JSMX_END

The JSMX_END Built-In Function is the last API call in a logical unit of processing.

This initializes/finalizes the internal state of the service program by closing any open connections and freeing any allocated resources. The internal state of the service program is scoped to the job.

You should not call this Built-In Function while any JSM connections remain open if you wish to continue to use the open connection(s).