15.4 Target PCs and the Client Application

The LANSA Application installed on each Target PC is essentially the same as any other Client Application except it includes a reference for the Application Server.

Connecting to an Application Server

The connection to an application server is generally accomplished using the X_RUN ASXX parameters. These parameters work identically to the PSxx parameters, as described in PSxx=Server Parameters in the Technical Reference.

The SSN (Symbolic Server Name) used when automatically connecting is always *APPSERVER. This value cannot be changed. Generally, only the ASLU and ASPW parameters need to be defined. Refer to Just in Time Options for more information.

SuperServer applications may connect to an Application Server (via the ASxx parameters) as well as their normal server (via Built-In Functions or the PSxx parameters). Alternatively, SuperServer applications may use their normal server as an Application Server. Where more than one server connection is started via an INIT function, the first connection is used as the Application Server.

Pic1background  Important: If ASXX parameters are used to connect to the Application Server it is necessary to have *.XQ* files on the Application Server. Refer to The .XQ* Files in the Technical Reference for details.

Refer also to Connect to the Required Server.

Downloading Packages to the Target PC

When a Deployment Tool Package is installed on the Target PC the same directory structure mirrors the Application Server, that is the directory structure is created like:

<sysdir>\x_apps\[Client App Name]\

When the Application is launched on the Target PC:

Downloading DLLs to the Target PC

When DLLs are installed on the Target PC, the same directory structure that exists on the Deploying System and the Application Server, is created. That gives a directory structure like this:

<sysdir>\[x_ppp]\

Each DLL installed on the Target PC is downloaded to this directory and will override any existing Packages of the same DLL.