CIC-SEND-TEXT

Format output data without mapping and transmit to a terminal or line printer.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.

Target:

CICS

Syntax:

CIC-SEND-TEXT FROM(dataarea)
... LENGTH(value) [CICSoptions]
... [ERROR(errorpara)]

General Rule:

  1. Use CIC-SEND-TEXT prior to a TERM from a main program in order to clear the screen and unlock the keyboard.

Parameters:

CICSoptions

Valid CICS, see your CICS reference manual for more information.

ERROR (errorpara)

User-defined error routine to perform when an abnormal condition occurs.

FROM (dataarea)

Data area to be acted on.

LENGTH (value)

Maximum length of data; can be a literal (LINK or XCTL only) or COBOL data name defined as S9(04)COMP; can also be a partial length (XCTL only).

Example:

CIC-SEND-TEXT outputs data block TEXT-STRING, to be formatted without being mapped.
CIC-SEND-TEXT FROM(TEXT-STRING)
... LENGTH(100) ERASE FREEKB
... ERROR(ERROR-PARA)