U_GBLCHN

Give channel global status

WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX
VSupported on OpenVMS
xcall U_GBLCHN(channel)

channel

The channel to be promoted. (n)

U_GBLCHN promotes a local channel to global status.

A global channel stays open even after the environment that opened it is exited.

If channel is local, but not local to the current environment, a fatal error occurs. If channel is already global, this subroutine is ignored.

In the following example, the variable archn is returned with the allocated channel, and the U_GBLCHN subroutine promotes the channel stored in archn to global status.

xcall u_open(archn, "i:i", "aropen")
xcall u_gblchn(archn)