Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

Administering and executing EDT procedures

&pagelevel(3)&pagelevel

The following statements are used to start EDT procedures and supply parameters to them. Further statements are used to switch between different procedure levels and to initialize and modify variables.

@DO

(Format 1)

Starts a @DO procedure, i.e. the text lines and EDT statements
in the specified work file are processed.

F mode
L mode

@DO

(Format 2)

Activates and deactivates the logging of the read statements
(see the PRINT operand in format 1 of the @DO
statement) at any location within the procedure.

@PROC

@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

@INPUT

(Format 1)

Starts an @INPUT procedure from any file. The statements
and/or records in the file are processed sequentially.

F mode
L mode

@INPUT

(Format 2)

Starts an @INPUT procedure from a SAM or ISAM file. The
statements and/or records in the file are processed
sequentially. This format is now only supported for reasons of
compatibility and should no longer be used.

F mode
L mode

@NOTE

Does not perform any action. The statement is used to
insert comments in EDT procedures.

L mode

@PARAMS

Defines symbolic parameters which can be used in a
@DO procedure.

@PROC

@PROC

(Format 1)

Switches to another work file. This work file then becomes
the current work file.

L mode

@SET

(Format 1)

Assigns a value to an integer variable.

F mode
L mode

@SET

(Format 2)

Assigns a value to a string variable.

F mode
L mode

@SET

(Format 4)

Inserts the contents of an integer variable, the name of a
string variable or the contents of a line number variable as
of a given column in printable form in a work file line or string
variable.

F mode
L mode

@SET

(Format 5)

Stores the date and time as of the desired column in a string
variable or a work file line.

F mode
L mode