Control exit program requirements - 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

A single control exit program is called to handle each of the control exit points. The Copy Active File (CPYACTF) command expects an integer return code to be placed in the control area structure, which is passed as a parameter to the control exit program.   The control exit program must determine which exit point it is being called from by testing the value of the control exit point identifier, which is passed as a parameter to the control exit program.

Use this style of programming when you want to write an externally called exit program. This has the advantage of simplicity and allows OPM languages to be used for the exit program. The disadvantage is runtime processing speed, since an external call will be made at each user exit point.

Table 2 identifies parameters are passed to the control exit program:

Control exit program parameters

Parameter

Name

Format and size

1

Control exit point identifier

CHAR(4)

2

Control area structure version string

CHAR(4)

3

Length of the control area structure

INTEGER

4

Control area structure pointer

Pointer to the control area structure