The Attach Terminal to Process routine requests the calling
process's command language interpreter (CLI) to detach the
terminal of the calling process and to reattach it to a different
process.
Format
LIB$ATTACH process-id
Additional Information:
explode
extract