ECN-4658 Create .NET objects on the server in the distributed environment

Product: ACUCOBOL-GT

Module: Runtime

Machines Affected: All

DESCRIPTION:

You can now create .NET objects on the server when executing in a distributed environment such as Thin Client or AcuToWeb.

When you use the CREATE statement to create a .NET object on the server, you must specify a SERVER-NAME. The value of the SERVER-NAME must start with the prefix Local: to signify that the object should be created on the application host (server runtime) rather than on the client (display host, or thin client, or web browser). For example:

CREATE .NET_object SERVER-NAME "Local:the_server_name"
Note: In a non-distributed environment, the server-name property has no effect, meaning you can use this format with server-name for compiling both distributed and non-distributed environments with no change in code required.