ENABLE Reference Manual
THE GENERAL SERVER
Providing File Assignments
To start the General Server outside of a PATHWAY environment, you
use the command interpreter RUN command. Refer to the GUARDIAN
Operating System User's Guide information about this command.
Providing File Assignments
The General Server can open up to 32 data base files. You must
provide ENABLEGS with the assign specifications that it needs to
open these files. If you want to use the General Server within a
PATHWAY system, these assign specifications have the following
form:
SET SERVER (ASSIGN <logical-name>, <file-name>
[ , <file-attributes> ] ...)
Refer to the PATHWAY System Management Reference Manual for more
information about this command
If you use the General Server outside of a PATHWAY environment,
you must provide the assign specifications before you start the
General Server. You can provide these specifications by using
the command interpreter ASSIGN command. Refer to the GUARDIAN
Operating System User's Guide for information about this command.
In either case, you must supply logical file names in the assign
specification that match the logical file names in the requester
program. These are the logical file names that are passed in an
OPEN transaction.
When you specify a physical file name in the assign
specification, you can use a fully expanded file name or rely on
the defaults to expand the file name. If the physical file is an
unstructured file, you must supply the record size as a parameter
in the assign specification. If the physical file has any other
file type, ENABLEGS ignores the record size.
At initialization, ENABLEGS opens the data base files with the
access mode indicated in the ASSIGN specification. If you do not
specify an access mode in an assign specification, ENABLEGS opens
the file for input-output with shared access. The assigned files
must exist, be available, and allow access with the access mode
you specify. The assigned files must also allow access by the
process-accessor ID under which ENABLEGS is running as follows:
• When running under PATHWAY, the ID is the process-accessor ID
of the PATHMON process that controls this server class. By
default, PATHMON has the process-accessor ID of the person who
started it.
E-3