ENABLE Reference Manual

THE GENERAL SERVER
Use With a User-Written Requestor
SET SERVER (PARAM ALLFILES ON) Indicates that the General
Server must open all assigned
files before processing any
requests. If the General
Server cannot open an assigned
file, it terminates.
SET SERVER (PARAM WHOLEFILES ON) Indicates that the General
Server is to issue an error
message if it cannot open an
alternate key file or a
partition of a data file.
When a requester generated with ENABLE opens the General Server,
the General Server compares the record description passed from
the requester with the file characteristics of the file being
opened. This includes the record length, the file type, and
the offset and length of the key fields known to the
requester. If the record description information and the file
characteristics differ, the General Server issues an error
message to the requester. The requester then reports this
error message to the user.
If you want to override this comparison process, alter the
generated SCREEN COBOL source code to move blanks into
T9155-VERSION before the the OPEN transaction and recompile.
Using the General Server with a User-Written Requester
If you use the General Server with a requester that you have
written, the requester must meet the requirements of the General
Server. These requirements are described later in this appendix.
STARTING THE GENERAL SERVER
The General Server resides on an object file named ENABLEGS.
Normally, this file resides on $SYSTEM.SYSTEM. If ENABLEGS does
not reside on this volume and subvolume, ask your system manager
for the location of the file.
If you plan to use the General Server within a PATHWAY system,
you must include the following in the series of SERVER commands
that describe the General Server:
SET SERVER PROGRAM $SYSTEM.SYSTEM.ENABLEGS
E-2