gtps1m4uSystem Macros

SENDC-Send Message to Terminal

Use this system macro to transmit the following types of messages:

High-speed display and printer terminals attached to their terminal interchange units may be connected to the TPF system in one of the following ways:

In a TPF system with NEF, the terminal interchange can be connected to a high-speed (ALC) line that in turn is connected to a 3725 with the NEF2 PRPQ.

Messages to directly attached display terminals and short reply messages to directly attached printer terminals are sent to the communication control program (CP) for code translation and initiation of output transmission.

Messages to indirectly attached display terminals, short reply messages to indirectly attached printer terminals and messages to another system through a synchronous link (AI) are sent through an intermediate queue mechanism to the TPF synchronous link control output interface programs.

Long and unsolicited messages to printer terminals (directly or indirectly attached) are passed by the control transfer mechanism to the long message transmitter program.

ATA/IATA format telegrams are passed by the control transfer mechanism to the message switching system.

Note:
The SENDC macros are restricted to system program use. Applications should use the ROUTC macro to transmit all messages. Any SENDC macro (class A, C, L, or B) issued by an application program is intercepted and converted to a ROUTC macro. The control program (CP) sets the CE1ACVT bit in the entry control block(ECB) control byte CE1CPA to indicate the conversion. When the control program (CP) issues a SENDC macro, the CE1AINT bit in CE1CPA must be set if the SENDC intercept routine (CCPNUC) is to be bypassed.

See TPF General Macros for more information about the ROUTC macro.

Format




Notes:

  1. symbol1

  2. symbol2

label
A symbolic name can be assigned to the macro statement.

symbol1
Data level (D0 through DF) containing message segment to be sent.

symbol2
A message class, one of the following:

A or C
Display Terminal reply messages or short Printer Terminal reply messages.

B
Messages to another system through a binary synchronous (BSC) line.

K
Messages to another system through a synchronous link.

L
Long reply or unsolicited messages to printer terminals.

T
ATA/IATA format telegrams

Entry Requirements

Return Conditions

Programming Considerations

Examples

None.