AGS_USE_IPV6

This variable enables the use of IPv6 addressing.

By default, this variable is set to 0 and IPv4 addressing is used. Set the variable to 1 to enable IPv6 addressing.

Programs that do not take a configuration file parameter can pick up the AGS_USE_IPV6 setting from the environment. Programs that do take a configuration file parameter can use this variable in either the configuration file or the environment. In some cases, such as acurcl -start, the variable must be set in the configuration file, because a child process is spawned that does not inherit the environment of the parent.

For best results, unless otherwise necessary, use the same AGS_USE_IPV6 setting for all ACUCOBOL-GT programs.

The TCP/IP stacks of different systems may behave differently with respect to mixed IPv4 and IPv6 clients and servers. Some may allow IPv6 servers to accept IPv4 clients, while others may not. These differences are at the system level and beyond the control of an ACUCOBOL-GT programs. Please see your system documentation for information on controlling this behavior, if possible.

No changes are required in order to use IPv6 host names, instead of IPv4 host names.

However, additional syntax may be necessary in some cases when specifying IPv6 addresses. If the IPv6 address is specified stand-alone, without any additional notation, it is sufficient to supply just the address itself. For example:

SERVER_IP	1111:2222:3333:4444:5555:6666:7777:8888
However, if additional notation is added to the IPv6 address, square brackets must be used to identify the IPv6 address. For example:
CODE_PREFIX	*[1111:2222:3333:4444:5555:6666:7777:8888]:/usr/acu/code