Identifying the Server Log

The server log is written as a data file with 90-byte records, each containing one log record consisting of 90 characters of text. The name of the log file is MCPSQL/LOG/<mix number>/<unique number>.

The <mix number> parameter is the mix number of the server. When the Query Processor server is initiated, the <unique number> parameter begins at 1 and is incremented by 1 in each new log file. The log file is created as a public file under the same usercode and family occupied by the server code file. The location is assigned when the Query Processor server is installed.

The system automatically closes the server log when it reaches 10,000 records and starts a new file. This action prevents the log file from becoming too large and enables you to remove older log files periodically. You can begin a new log file at any time by using the LOG RELEASE command.