Control exit programs and control service programs - assure_mimix - 10.0

Assure MIMIX Promoter User Guide

Product type
Software
Portfolio
Integrate
Product family
Assure
Product
Assure MIMIX™ Software
Version
10.0
Language
English
Product name
Assure MIMIX
Title
Assure MIMIX Promoter User Guide
Copyright
2021
First publish date
1999
Last updated
2023-08-01
Published on
2023-08-01T14:40:24.932940

Control exit programs and control service programs control the flow of the program processing. These parameters are considered advanced topics and are mutually exclusive. Most users can accept the defaults for these parameters.

The Control exit program (CTLEXITPGM) parameter determines whether a user-supplied program is called to monitor and control the flow of processing. The default value *NONE indicates that no user-defined program is called.

The Control exit service program (CTLSRVPGM) parameter determines whether a user-supplied service program will be dynamically linked to the CPYACTF process. The functions in this program will be called to help monitor and control program flow. The value *DEFAULT indicates that the Precisely-supplied service program is used.

If you specify a user-defined control service program, its control exit routines must handle all functionality for control flow (record locking checks, acquiring exclusive locks, and so on). The service program must have an ILE service program signature that matches the PRCONTROLX *SRVPGM that is shipped with the product. The control functions provided in Assure MIMIX Promoter are included in the default service programs. The owner of the user-defined control service program must be MIMIXOWN. When a user-defined service program is specified, it replaces the default service program provided with Assure MIMIX Promoter.

Even though the service program interface tends to be the faster interface, since most control points are called only once, or at most a very few times, it does not really matter if the service program interface or the program interface is used.

For more information see Control exit point processing.