We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!
This statement immediately terminates the current main program and deletes its internal session, including all loaded programs, instances, and their data.
The statement LEAVE PROGRAM can appear anywhere within any processing block. It ends the program regardless of the program object or program group of the internal session in which it is executed.
The runtime framework responds to LEAVE PROGRAM depending on how the main program of the internal session was called:
Exiting a program after a failed authorization check.