Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

SEND-DATA Transfer data record to program

&pagelevel(4)&pagelevel

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


0CMD0001No error

1CMD0202Syntax error

1SDP0118Command in false context

3CMD2203Incorrect syntax file

32CMD0221System error (internal error)

64SDP0091Semantic error

130SDP0099No further address space available