Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

Interrupting or terminating EDT

&pagelevel(3)&pagelevel

The following statements interrupt or terminate EDT or execute system commands without exiting EDT.

@END

In L mode, causes the current work file to be exited.
Processing returns to the work file in which the @PROC
statement activating the current work file was issued. In F
mode, @END terminates the EDT session or terminates the
screen dialog after @DIALOG.

F mode
L mode

@EXEC

Terminates the EDT session and loads and starts the
specified program.

F mode
L mode

@HALT

Terminates the EDT session, the screen dialog after
@DIALOG or EDT as a subroutine with or without
transferring a text to the calling program.

F mode
L mode

@LOAD

Terminates the EDT session and loads the specified
program.

F mode
L mode

@RETURN

In EDT procedures, terminates the execution of the
procedure and returns to the point at which it was called. If
the @RETURN statement is issued outside of an EDT
procedure then the EDT session or, after @DIALOG, the
screen dialog is terminated.

F mode
L mode

@SYSTEM

Interrupts (like [K2]) the EDT session or executes an
operating system command without interrupting the EDT
session.

F mode
L mode