U_GBLCHN
WSupported on Windows
|
USupported on Unix
|
VSupported on OpenVMS
|
NSupported in Synergy .NET
|
xcall U_GBLCHN(channel)
Arguments
channel
The channel to be promoted. (n)
Discussion
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.
Examples
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)