Environmental Variables

CSCI is invoked by csciTcpServer.sh, a Transaction Program Name (TPN) in the /$ACS_HOME/bin directory where ACSLS executables reside. This shell script defines CSCI environment variables.

The following table describes CSCI environment variables for the server subsystem and a shell script similar to the one provided in the distribution of ACSLS/CSCI software. This shell script is started by TCP/IP on the server.

Table M-1 CSCI Server Subsystem Environment Variables

Name Description

START_CSCI_PROCESS

Automatically starts CSCI at ACSLS startup (TRUE or FALSE)

CSCI_TRACE

This variable indicates whether CSCI tracing is ON or OFF.

CSCI_SLEEP_TIME

This variable indicates the PER sleep time at the end of each round-robin loop through the connection table (polling timeout). Default is 100 msec.

CSCI_INITIAL_CONNECTION

This variable indicates the CSCIs' initial connect name to open first. This is the connection service name requiring i/o on initial startup of the CSCI. Clients usually open IPC first; Servers open TCP/IP first.

CSCI_SERVER_NAME

This variable indicates the name of the CSCI Server. It must be set the same for all CSCIs' Clients defined to a single CSCI server. The server name must match its CSCI Clients CSCI_SERVER_NAME. The matching of the Server and Client CSCI_SERVER_NAME provides an end-to-end logical link between machines. Finally, this name is used later for the “connectionname" in other environment variables. The value assigned to the CSCI_SERVER_NAME must be replicated in the connectionname part of the subsequent variables.

CSCI_connectionname_NET_TYPE

This variable indicates what Network type this CSCI is configured for from the CIF subsystem. The NETTYPE defines the transport layer used by this CSCI. Valid assignments are LU62 or IPC.

CSCI_connectionname_INPUT_SOCKET

This variable indicates the input socket number to use as input to this CSCI. This number would match the Server or Client application output socket number.

CSCI_connectionname_CON_TYPE

This variable indicates this CSCI type. This CON_TYPE defines the CSCI to be either a SERVER or a CLIENT.

CSCI_connectionname_TRANSLATE_TYPE

This variable indicates this CSCI XDR type to be employed during execution. This can be assigned to either XDR or NONE.

CSCI_connectionname_DESTINATION_SOCKET

This variable indicates destination or output socket number to be used by the CSCI Server. This socket number would be the matching input socket number to the CSCI Server Application.