Loading...
Select Version
&pagelevel(4)&pagelevel
Domain: PROCEDURE
Command description
END-BLOCK terminates a BEGIN block, i.e. a command block which was initiated with the BEGIN-BLOCK command.
Format
END-BLOCK |
BLOCK = *LAST / <structured-name 1..255> |
Operands
BLOCK =
Designates the BEGIN block to be terminated.
BLOCK = *LAST
Reference to the BEGIN block last opened.
BLOCK = <structured-name 1..255>
Reference to the tag in the BEGIN block last opened; specifying another block tag produces an error message.
Command return code
(SC2) | SC1 | Maincode | Meaning |
0 | CMD0001 | No error | |
1 | CMD0202 | Syntax error | |
1 | SDP0118 | Command in false context | |
1 | SDP0223 | Incorrect environment | |
3 | CMD2203 | Incorrect syntax file | |
32 | CMD0221 | System error (internal error) | |
130 | SDP0099 | No further address space available |
Example
See the BEGIN-BLOCK command, "BEGIN-BLOCK Initiate command block ".