tcl.dev-att Verb: Access/TCL

tcl.dev-att

Command tcl.dev-att Verb: Access/TCL
Applicable release versions: AP
Category TCL (746)
Description attaches an unattached port to the current process. This command only changes ownership and is required prior to using the "get" or "send" statements in Pick/BASIC.

The user gets exclusive ownership of the attached port. No other processes are allowed to attach the port until the owner releases the port.

The port is detached by using the TCL verb "dev-det", or by logging off.

If the target port is not linked to the current process, the target port must be unlinked by the "unlink-pibdev" command, or use the (U) option to force the unlink.

Attaching to a device the current process is linked to does not remove that link.
Syntax dev-att port.number
Options U Unlink the target device if required. Attachment fails on a linked device, unless the current process is linked to it.
Example
dev-att 3
Device # 3: Attached to Pib # 0

This attaches port 3 to process 0 (zero).
Purpose
Related tcl.link-pibdev
tcl.dev-det
tcl.unlink-pibdev
basic.get
basic.send
tcl.tandem
tcl.converse
tcl.:ent-list
tcl.:ent-mon
tcl.:ent-status