The htmSQL configuration file contains
the values for the htmSQL run-time configuration options. htmSQL can
run both with and without a configuration file. If you want it to
run with a configuration file, htmSQL can automatically locate your
file if you follow these rules for naming and locating the file. Or
if you need to name or locate the file in a manner different from
what is required, you can explicitly specify the file's pathname in
either the -rc parameter or the HTMSQL_CFG Web server environment
variable.
If you want htmSQL to
automatically locate your file, you must do both of the following:
-
Name the configuration file
executable_name.cfg
where
executable_name is
the name of the htmSQL executable file. For example, if the name of
your htmSQL executable file is
htmSQL
, then name the configuration file
htmSQL.cfg
. If the name of your htmSQL executable file is
htmSQL.exe
, then you still name the configuration file
htmSQL.cfg
. If you rename the executable file, then you must also rename the
configuration file to match.
Note: If you are a UNIX user and
you are upgrading from a previous release of htmSQL, if your configuration
file is named .htmSQLrc, then you can keep that name (that is, you
do not need to follow the rule for naming the file).
-
Put the configuration file in a
location that htmSQL knows about. htmSQL looks for the configuration
file
-
first in the current
directory
-
then in the directory
where the htmSQL executable file is located
-
and if it still cannot
find the file, then in
-
/usr/local/lib/IntrNet/htmSQL
(for UNIX and
z/OS)
-
C:\Program Files\SAS
Software
(for Windows)
Note: If htmSQL does not find a
configuration file, then it runs without a configuration file. If
htmSQL finds a configuration file but cannot open it, then htmSQL
does not run.
If you want to explicitly
specify the name and location of your configuration file, then provide
either a relative or absolute pathname for one of the following:
-
-
the HTMSQL_CFG Web server environment
variable.
You can name your configuration
file whatever you want and locate the file in whichever path you choose.
Both of the values are
optional, but if you specify both values, then the value of the -rc
parameter takes precedence over the value of the HTMSQL_CFG environment
variable.
Note: If htmSQL cannot open the
file, then htmSQL does not run.