SEND (2980)

Write data to a 2980 general banking terminal system.

SEND (2980)

Read syntax diagramSkip visual syntax diagramSENDFROM( data-area)LENGTH( data-value)FLENGTH( data-value)PASSBKCBUFF

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.
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

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.

51 NOPASSBKWR
occurs if no passbook is present.

Default action: terminate the task abnormally.