SEND (non-z/OS® Communications Server default)
Write data to standard CICS® terminal support.
Description
SEND writes data to a terminal. This form of the send command can be used by all CICS-supported terminals for which the other SEND descriptions are not appropriate.
Options
- FLENGTH(data-value)
- A fullword alternative to LENGTH.
- FROM(data-area)
- specifies the data to be written to the logical unit or terminal.
- LENGTH(data-value)
- specifies the length, as a halfword binary value, of the data to be written. For a description of a safe upper limit, see LENGTH options in CICS commands.
- WAIT
- specifies that processing of
the command must be completed before any subsequent processing is
attempted.
If the WAIT option is not specified, control is returned to the application program when processing of the command has started. A subsequent input or output request (terminal control, BMS, or batch data interchange) to the terminal associated with the task causes the application program to wait until the previous request has been completed.
Conditions
- 16 INVREQ
- RESP2 values:
- 200
- occurs if a distributed program link server application attempted to send on its function-shipping session (its principal facility)
Default action: terminate the task abnormally.
- 22 LENGERR
- occurs if an out-of-range value
is supplied in the LENGTH or FLENGTH option.
Default action: terminate the task abnormally.
- 61 NOTALLOC
- occurs if the facility specified
in the command is not owned by the application.
Default action: terminate the task abnormally.