Domain: PROCEDURE
Command description
SEND-DATA should always be used when data records and commands are to be mixed. SEND-DATA also offers the following advantages:
Data records can be provided with a label.
Data records can contain comments.
Data records can be specified with multiple lines (continuation handling).
Data records can begin with a slash.
Data and EOF conditions can be generated in the command via a standard interface.
If a SEND-DATA command occurs in the “data stream”, an EOF condition is not activated implicitly, as for other commands; instead, this is controlled by the RECORD operand.
Format
SEND-DATA |
RECORD = *EOF / <text 0..1800 with-low string-expr> |
Operands
RECORD = *EOF
Sets the EOF condition.
RECORD = <text 0..1800 with-low string-expr>
String expression. Evaluation of the expression produces the data record.
Command return codes
(SC2) | SC1 | Maincode | Meaning |
0 | CMD0001 | No error | |
1 | CMD0202 | Syntax error | |
1 | SDP0118 | Command in false context | |
3 | CMD2203 | Incorrect syntax file | |
32 | CMD0221 | System error (internal error) | |
64 | SDP0091 | Semantic error | |
130 | SDP0099 | No further address space available |