You convert the binary version of the database trace to a plain text version. You define the method of the conversion using command options.
The binary version of the database trace has the file name knltrace and is stored in the work directory of the database instance. The plain text file generated has the file ID KNLTRCPROT.
You have the server authorization DBInfoRead or DBFileRead.
You have created the database trace (see: trace_on).
You have created the binary file of the database trace (see: trace_flush).
trace_prot <option> | <option_list>
<option_list> :: = <option><option>...
Option | Description |
---|---|
<option> | Command option, controls method of conversion For displaying possible command options see trace_protopt. |
Call the Database Manager CLI, log on as user OLEG with password MONDAY, connect to the DEMODB database instance, create the text version of the database trace for the areas a (Order Interface) and b (Record Interface):
>dbmcli -u OLEG;MONDAY -d DEMODB trace_prot ab
OK
Database Administration, Traces