SEND TEXT MAPPED

Send data with mapping. Only supplied by full BMS. For further information about BMS, see Basic mapping support.

Read syntax diagramSkip visual syntax diagram
SEND TEXT MAPPED

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

   .-TERMINAL---------------------.                    
>--+------------------------------+--+-------------+-----------><
   +-PAGING-----------------------+  '-REQID(name)-'   
   '-TERMINAL--+------+--+------+-'                    
               '-WAIT-'  '-LAST-'                      

Conditions: IGREQCD, IGREQID, INVREQ, TSIOERR, WRBRK

 

Description

SEND TEXT MAPPED sends a page of a device-dependent data stream previously built by BMS, and returned to the application program with the SET option.

It must only be used to send data previously generated by a BMS SEND command specifying the SET option. It references a 4-byte page control area (PGA) that BMS placed at the end of the device-dependent data stream.

The length of the device-dependent data stream set in the TIOATDL field of the page buffer returned by the SET option does not include the PGA. The LENGTH option of the SEND TEXT MAPPED command should be set from this TIOATDL, and hence does not include the PGA. However, if the application program copies the page buffer returned by the SET option, it should include the PGA in the copied data.

This command is only supported by full BMS.

Options

FROM(data-area)
specifies the data area containing the data to be sent.
LAST
specifies that this is the last output operation for a transaction and, therefore, the end of a bracket. This option applies to logical units only.
LENGTH(data-value)
specifies the length of the data to be formatted as a halfword binary value. For a description of a safe upper limit, see LENGTH options in CICS commands.
PAGING
specifies that the output data is not to be sent immediately to the terminal, but is to be placed in temporary storage and displayed in response to paging commands entered by the terminal operator.

If PAGING is specified with a REQID prefix that is used for temporary storage queues that are defined as recoverable, CICS provides message recovery for logical messages if the task has reached a syncpoint.

REQID(name)
specifies a 2-character prefix to be used as part of a temporary storage identifier for CICS message recovery. Only one prefix can be specified for each logical message. The default prefix is **.

BMS message recovery is provided for a logical message only if the PAGING option is specified in the BMS SEND commands and if the syncpoint has been reached.

TERMINAL
specifies that input data is to be sent to the terminal that originated the transaction.
WAIT
specifies that control should not be returned to the application program until the output operation has been completed.

If WAIT is not specified, control returns to the application program when the output operation has started. A subsequent input or output command (terminal control, BMS, or batch data interchange) causes the application program to wait intil the previous command has been completed.

Conditions

57 IGREQCD
occurs when an attempt is made to execute a SEND TEXT command after a SIGNAL data-flow control command with a request change direction (RCD) code has been received from an LUTYPE4 logical unit.

Default action: terminate the task abnormally.

39 IGREQID
occurs if the prefix specified in the REQID option on a BMS SEND command is different from that established by a previous REQID option, or by default for this logical message—REQID (**).

Default action: terminate the task abnormally.

16 INVREQ
RESP2 values:
200
A distributed program link server application specified the function-shipping session (its principal facility) on the CONVID option.

Default action: terminate the task abnormally.

TSIOERR
occurs if there is an irrecoverable temporary storage input/output error.

Default action: terminate the task abnormally.

03 WRBRK
occurs if a SEND command is interrupted by the terminal operator pressing the ATTN key. It applies only to the 2741 Communication Terminal, and only if write break is supported for CICS.

Default action: ignore the condition.



dfhp4_sendtextmapped.html | Timestamp icon Last updated: Thursday, 27 June 2019