The statement code K
copies the specified screen line to the statement line.
The copy operation starts at the specified column position. Starting at this point, it is possible to copy at most the number of characters that will fit in the statement line. The last character in the statement line is set to binary zero. Any previous content in the statement line is first deleted.
Statement code | Key |
K | [DUE] or [F2] |
At least one character in the line copied with K
must be overwritten, modified or added in the statement line if it is to be sent as a statement.
The statement line is interpreted in the character set that has been defined for communication with the terminal (see statement @CODENAME name,TERMINAL). It may therefore be necessary to convert the line from the work file's character set to this target character set. If, in such a case, it is not possible to convert individual characters then the message EDT5453
is issued. The statement is output nevertheless and the non-converted characters are replaced by question marks '?'.
Example
The @SHIH statement outputs the EDT statement buffer to work file 9
.
Statement code K
copies screen line 3.00
into the statement line.
0
is inserted in front of the copied statement. This switches to work file 0
and starts the search.