ContentsIndexPreviousNext

6.1.2 Server Configuration Variables

The server configuration file is named a_srvcfg. On UNIX servers, it is located in /etc by default. On Windows NT or Windows 2000 servers, it is located in \etc on the disk device that AcuServer is installed on. If the file is given another name, or located in another directory, the full location and name of the file must be specified with the "-c" option when you start AcuServer. See the "-start" option in Section 7.1 The "acuserve" Command.

There are several server configuration variables. They are:

Name
Default value
ACCESS-FILE
/etc/AcuAccess
ACUSERVER-PORT*
6523
DEFAULT-UMASK
0
DEFAULT-USER
undefined
FILE-TRACE-FLUSH
0
LOCK-ALL-FILES
0
LOCKS-PER-FILE*
10
MAX-ERROR-LINES*
0
MAX-FILES*
32
MAX-LOCKS*
32
NAME_EXT_DATA_FMT*
decimal extensions
NAME_EXT_INDEX_FMT*
decimal extensions
PASSWORD-ATTEMPTS
3
SERVER-IP
undefined
SERVER-NAME
undefined
V-BUFFER-DATA*
on ("1")
V-BUFFERS*
32
V-READ-AHEAD*
on ("1")
V-SEG-SIZE*
2147482623
V-VERSION*
0
name-VERSION*
0

Variables marked with an asterisk ("*") can appear in both the runtime ("cblconfig") and server ("a_srvcfg") configuration files. These variables are fully described in Chapter H, "Configuration File Entries," of the ACUCOBOL-GT Appendices book. Note that values assigned to variables contained in the server configuration file are applied solely to operations performed by AcuServer.

In both "a_srvcfg" and "cblconfig," V-BUFFERS, V-BUFFER-DATA, V-READ-AHEAD, V-VERSION, name-VERSION, V-SEG-SIZE, NAME_EXT_DATA_FMT, NAME_EXT_INDEX_FMT, V-BUFFER-DATA, V-READ-AHEAD, V-VERSION, and V-SEG-SIZE should be given values as recommended in the ACUCOBOL-GT Runtime Manual. Note that when file access is made through AcuServer, the values assigned to these variables in the runtime configuration file are ignored.

More:

ACCESS-FILE

ACUSERVER-PORT

DEFAULT-UMASK

DEFAULT-USER

FILE-TRACE-FLUSH

LOCK-ALL-FILES

LOCKS-PER-FILE, MAX-FILES, and MAX-LOCKS

PASSWORD-ATTEMPTS

SERVER-IP and SERVER-NAME

V-SEG-SIZE

V-VERSION

name-VERSION