TTMBX

Associate a mailbox with a channel opened to a terminal device

 

 

 

VSupported on OpenVMS
xcall TTMBX(status, channel, option[, mailbox])

Arguments

status

Returned with a value that indicates the status of the operation: (n)

0 = The operation failed.

n = The system channel on which the mailbox was opened.

channel

A Synergy DBL channel opened to a terminal. (n)

option

Specifies whether the mailbox will be assigned to or deassigned from a channel: (n)

0 = Deassign a mailbox from a channel.

1 = Assign a mailbox to a channel.

mailbox

(optional) Returned with the name of the mailbox created by the TTMBX subroutine. (a)

Discussion

The TTMBX subroutine associates a mailbox with a channel opened to a terminal type device.

You cannot spawn DCL commands when a mailbox is assigned to the controlling terminal.