SEND (2980)

Write data to a 2980 general banking terminal system.

Read syntax diagramSkip visual syntax diagram
SEND (2980)

>>-SEND--FROM(data-area)--+-LENGTH(data-value)--+--------------->
                          '-FLENGTH(data-value)-'   

>--+------------+--+-PASSBK-+----------------------------------><
   '-DEST(name)-'  '-CBUFF--'   

Conditions: INVREQ, LENGERR, NOPASSBKWR

 

Description

SEND writes data to a terminal. For more information about the 2980 general banking system, see RECEIVE (2980).

Options

CBUFF
specifies that data is to be written to a common buffer in a 2972 control unit. The WAIT option is implied.
DEST(name)
specifies the 4-byte symbolic name of the TCAM destination to which the message is to be sent. This option is meaningful only for terminals defined using DFHTCT TYPE=SDSCI with DEVICE=TCAM.
Note: Start of changeIn CICS® TS 3.1, local TCAM terminals are not supported. The only TCAM terminals supported are remote terminals connected to a pre-CICS TS 3.1 terminal-owning region by the DCB (not ACB) interface of TCAM. End of change

If you use the DEST option, you must be aware of any restrictions placed on device-dependent data streams by the message control facility in use.

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.
PASSBK
specifies that communication is with a passbook. The WAIT option is implied.

Conditions

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.

LENGERR
occurs if an out-of-range value is supplied in the LENGTH or FLENGTH option.

Default action: terminate the task abnormally.

NOPASSBKWR
occurs if no passbook is present.

Default action: terminate the task abnormally.