Loading...
Select Version
Event exits are created as subroutines without KDCS calls. This section describes the following event exits:
INPUT
HTTP
START
SHUT
VORGANG
FORMAT (only on BS2000 systems)
The event exits INPUT, START, SHUT and FORMAT are defined with the KDCDEF statement EXIT. You can define the event exit VORGANG with the TAC and PROGRAM statement.
Of these five event exits, database calls are permitted only in the VORGANG exit.
Reading the application name
An event exit is able to read the name of the own application by calling the KDCAPLI entry, see the following example:
Assembler Program
EXTRN KDCAPLI AKDCAPLI DC A(KDCAPLI)
C Program
extern char KDCAPLI[8];