Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP Sybase SQL Anywhere 16.0 » SQL Anywhere Server - Database Administration » Database configuration » SQL Anywhere environment variables

 

Sourcing sa_config.sh and sample_config32.sh/sample_config64.sh [Unix and Mac OS X]

To source a file means to run commands contained in a text file in the current instance of the shell. This is accomplished using a command built into the shell.

Under Bourne shell and its derivatives, the name of this command is . (a single period). For example, if SQL Anywhere is installed in /opt/sqlanywhere16, the following statement sources sa_config.sh:

.  /opt/sqlanywhere16/bin32/sa_config.sh

For example, on a Mac, run the following command to source sa_config.sh:

. Applications/SQLAnywhere16/System/bin32/sa_config.sh

Under C-shell and its derivatives, the command is source. For example, if SQL Anywhere is installed in /opt/sqlanywhere16, the following command sources sa_config.csh:

source  /opt/sqlanywhere16/bin32/sa_config.csh
 Configuring the samples