Exit points

Using the IBM® i registration facility, you can define exit points for functions in an application and register programs that run at those exit points.

Some IBM i services also support the registration facility for registering exit programs. These IBM i services have predefined exit points that are registered when those services are installed. The registration facility itself is threadsafe. You can use the registration facility to specify attributes of thread safety and multithreaded job actions for exit program entries.

However, do not consider the existing exit programs to be threadsafe without careful evaluation, even though you can call the exit programs in a multithreaded job. The same restrictions apply to exit programs as to any other code that runs in a multithreaded job. For example, only exit programs written using a threadsafe Integrated Language Environment® (ILE) language can be made threadsafe.