.ig >>
<STYLE TYPE="text/css">
<!--
        A:link{text-decoration:none}
        A:visited{text-decoration:none}
        A:active{text-decoration:none}
        OL,UL,P,BODY,TD,TR,TH,FORM { font-family: arial,helvetica,sans-serif;; font-size:small; color: #333333; }

        H1 { font-size: x-large; font-family: arial,helvetica,sans-serif; }
        H2 { font-size: large; font-family: arial,helvetica,sans-serif; }
        H3 { font-size: medium; font-family: arial,helvetica,sans-serif; }
        H4 { font-size: small; font-family: arial,helvetica,sans-serif; }
-->
</STYLE>
<title>shsql: shsql environment</title>
<body bgcolor=99cc99 vlink=0000FF>
<br>
<br>
<center>
<table cellpadding=2 bgcolor=FFFFFF width=550 ><tr>
<td align=right><a href="shsql_home.html">
<img src="img/shsql.gif" border=0><br><small>SQL database system</a> &nbsp; </td></tr>
<td>
.>>

.TH shsql environment TDH "18-MAR-2004   TDH scg@jax.org" 

.LP
In order to successfully access a \fBshsql\fR database, a given process or
session must have access to the required environment variables and must
be owned by an appropriate userid and groupid.

.ig >>
<br><br><br>
.>>

.SH Environment variable
.LP
\fBSHSQL_DB\fR -
the full pathname of the project directory.  A 
.ig >>
<a href="config.html">
.>>
\0project config file
.ig >>
</a>
.>>
named \fCconfig\fR should be located there.
If multiple \fBshsql\fR databases are in use, use this environment variable 
to select which database is currently active (only one database can be
currently active at a time, and joins across databases are not supported).

.ig >>
<br><br><br>
.>>
.SH Config file
A 
.ig >>
<a href="config.html">
.>>
\0project config file
.ig >>
</a>
.>>
must already exist.
A config file is automatically created when you 
.ig >>
<a href="project_setup.html">
.>>
\0create a SHSQL database.
.ig >>
</a>
.>>

.ig >>
<br><br><br>
.>>

.SH UserID and GroupID
\fBshsql\fR does not do any user identity authentication.
Access to all database files is enforced by Unix file permissions.
Thus processes that expect to update a database should be owned by a userID that
can write to database files and directories.  The same goes for read access.

.ig >>
<br>
<br>
</td></tr>
<td align=right>
<a href="shsql_home.html">
<img src="img/shsql.gif" border=0></a><br>
<a href="Copyright.html">Copyright Steve Grubb</a> &nbsp;
</td></tr>
</table>
.>>
