status.i4.v = acnet_callback_handle(net_handle.i1a.r [,node_name.i1a.r])
This routine initializes the network handle used by the ACNET
request callback facility. This function is called once at
initialization by intype for console applications. "net_handle"
is the ACNET network name to which users should send requests.
intype computes the UTI network handle for console applications
by adding one to the first character of the main ACNET task name.
For example, PB1234 will become QB1234. The Open Access Client
(OAC) shell calls this function with the main ACNET task name with
the first character set to "Z". Other processes should use the
same algorithm as the OAC shell. If this function is not called
before the first call to acnet_callback_init, the default ACNET
handle will be used.
net_handle ASCII network handle (PROCESS_NAME_LEN characters)
[node_name] virtual node name
(default is NULL which results in using the
default ACNET node for the caller's computer)
This function returns ACNET status values as follows:
CLIB_DUPREQ network handle already established
This function requires the following include files:
cnsparam_h, acnet_h, acnet_errors_h
acnet_callback_init, acnet_callback_flush, intype, window_intype,
static const char net_handle = "QA1234";
char *node_name = (char *) NULL;
status = acnet_callback_handle(net_handle,node_name);