## trace_prot

### Use

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 is stored in the run directory of the database instance and has the file name knltrace. The plain text file generated has the file ID KNLTRCPROT.

See also:

Glossary, Database Trace

### Prerequisites

● 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).

### Syntax

trace_prot <option> | <option_list>

<option_list> :: = <option><option>...

<option> | Command option, controls method of conversion For displaying possible command options see: trace_protopt.

### Reply

OK

In the event of errors, see Reply Format.

### Example

Call the Database Manager CLI, log on as operator 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