---
name: "sqldbc_cons"
section: "1"
platform: "linux"
package: "libsqldbc7.5.00-dev"
version: "7.5.00.24-4"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/sqldbc_cons"
---

# sqldbc\_cons(1)

trace manager utility for libSQLDBC of the MaxDB database system

## NAME

sqldbc\_cons - trace manager utility for libSQLDBC of the MaxDB database system

## SYNOPSIS

**sqldbc\_cons** \[options\] command

## DESCRIPTION

sqldbc\_cons is a tool to generate traces of calls of the SQLDBC library of the MaxDB database system. It is mainly used for debugging purposes.

## OPTIONS

Options must be separate, collating them is not supported.

- **-h**

  Displays a short command help and exits.

- **-v**

  Verbose operation.

- **-p** *pid*

  Execute command only for the specified process id.

- **-f**

  Force tool execution, even if a lock file of another instance is found.

## COMMANDS

All commands are case-insensitive, commands can be abbreviated. If a process id is specified, the options are valid for the specified process only, and are not used for new processes. CONFIG commands affect the configuration only, but not running processes (until a TRACE REFRESH).

- \[CONFIG\] TRACE SHORT ON\|OFF

  Enables/disables method call trace.

- \[CONFIG\] TRACE LONG ON\|OFF

  Enables/disables method argument and detail debug trace.

- \[CONFIG\] TRACE PROFILE ON\|OFF

  Enables/disables profile trace.

- \[CONFIG\] TRACE PACKET ON\|OFF\|\<size\>

  Enables/disables packet trace, limiting the size of the traced object to the specified number of bytes, or 1000 if no size is specified.

- \[CONFIG\] TRACE SQL ON\|OFF

  Enables/disables high level api trace.

- \[CONFIG\] TRACE TIMESTAMP ON\|OFF

  Enables/disables a timestamp prefix on each line that is traced.

- \[CONFIG\] TRACE SIZE \<size\>

  Limits the size of the trace file to \<size\> bytes, at least 8192 bytes are required.

- CONFIG TRACE FILENAME \<filename\>

  Sets the name of the trace file name. A '%p' in the name is replaced by the process id.

- TRACE REFRESH

  Refreshes the trace settings from the configuration.

- TRACE OFF

  Switches all trace off.

- SHOW CONFIG

  Displays the configuration.

- SHOW TRACESETTINGS

  Displays the dynamic trace options.

- SHOW ALL

  Displays configuration and dynamic trace options.

## SEE ALSO

The full documentation for  **sqldbc\_cons** is part of the HTML help of the MaxDB database system.

## AUTHOR

This manual page was written by Martin Kittel \<debian@martin-kittel.de\>, for the Debian project (but may be used by others).
