Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Event exits

The INPUT, START, SHUT and VORGANG event exits may not contain any KDCS calls. They should be written as subroutines and must end with the return statement.

For START, SHUT and VORGANG the addresses of the communication area (KB) and standard primary working area (SPAB) are passed as parameters; these areas must be declared accordingly (just like for program units containing KDCS calls). In "Example of a complete UTM application on BS2000 systems" you will find an example of a combined START/SHUT exit.

openUTM passes an address for the INPUT exit. This address specifies the INPUT parameter area. The header file kcinp.h contains the structure of the INPUT parameter area; the name of the data structure is kc_inp. In "Example: INPUT exit (BS2000 systems) " you will find an example of a INPUT exit.
On BS2000 systems, it is also possible to pass the address of a control field area. The include file kccf.h is available for the control field area.

There can be a maximum of eight START and eight SHUT event exits per application. There can only be one INPUT and one VORGANG. For further information on event exits, please refer to chapterEvent functions"