2. Trace Settings on the Server Side.
--------------------------------------
You enable tracing through the logical SQLSRV$SERVER_LOG which can be defined
as a system-wide logical or at the SQL/Services executor process level.
o Example of tracing all SQL/Services services -
$ DEFINE/SYSTEM SQLSRV$SERVER_LOG 15
(Please consult the section called "Logging Flag Values" at the end of
this bulletin for the meaning of value 15.)
o Example of tracing a specific SQL/Services service -
1) Create a process INIT file:
$ CREATE SYS$MANAGER

QLSRV$INIT.COM/PROT=W=RE
$ !
$ DEFINE SQLSRV$SERVER_LOG 68
$ !
<CTRL>Z
(Please consult the section called "Logging Flag Values" at the
end of this bulletin for the meaning of value 68.)
2) Modify the SQL/Services service to activate tracing.
o Use the command line interface:
$ MCR SQLSRV_MANAGE
SQLSRV> ALTER SERVICE GENERIC PROCESS_INITIALIZATION
SQLSRV> 'SYS$MANAGER

QLSRV$INIT.COM
or,
o Use Oracle DBAPack for Rdb7:
- Open the Oracle Rdb SQL/Services Manager
(Click on SQL_Services Manager.)
- Open the SET/SHOW Service screen for your service
(Double-click on service name.)
- Modify the Process Init File
(Enter SYS$MANAGER

QLSRV$INIT.COM.)
3) Restart the SQL/Services service:
o Use the command line interface:
SQLSRV> CONNECT SERVER;
SQLSRV> SHUTDOWN SERVICE GENERIC;
SQLSRV> START SERVICE GENERIC;
or,
o Use Oracle DBAPack for Rdb7:
Restart your service when you are prompted to do so.
o Name and location of logfiles -
- Logfiles are written into SYS$SYSDEVICE:[SQLSRV$DEFLT].
- The logfile name for the GENERIC SQL/Services service is SQS*GENERI*.LOG.
- Other log files:
SYS$MANAGER

QS*MON*.LOG :for the SQL/Services monitor
SYS$MANAGER

QS*DIS*.LOG :for the SQL/Services dispatchers (if named DIS*)
(Used for authentication and authorization failures and executor or
dispatcher failures.)