|Command||tcl.dev-att Verb: Access/TCL
Applicable release versions: AP
|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.
|Options||U Unlink the target device if required. Attachment fails on a linked device, unless the current process is linked to it.|
dev-att 3 Device # 3: Attached to Pib # 0 This attaches port 3 to process 0 (zero).