U_GBLCHN

Give channel global status

WSupported on Windows
USupported on Unix
VSupported on OpenVMS
NSupported in Synergy .NET
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)