You are logged on as the operating system user who started (or will start) the JDBC application.
Note
Configuration changes have an effect on all JDBC applications that the current operating system user has started.
Enter the following command on the command line:
java –jar <independent_program_path>\runtime\jar\sapdbc.jar
Enter the options one by one.
Option |
Command Line Option |
Description |
---|---|---|
Trace File Folder |
- |
Directory where the system writes the trace file When you do not configure a directory, the system writes the trace files to the temporary operating system directory (Microsoft Windows: %TEMP%, Unix and Linux: $TMP) |
Trace File Name |
TRACE FILENAME [<path>]<file_name> |
Sets the name of the trace file The system assigns each trace file an additional unique ID <id>: <file_name>_<id>.prt Default value for <file_name>: MaxDBJDBC |
Limit File Size |
TRACE SIZE <size> [KB|MB|GB] |
Limits the size of the trace data to <size> |
- |
TRACE SIZE UNLIMITED |
Removes all size limitations for the trace file |
Stop on Error |
TRACE STOP ON ERROR <error_code> TRACE STOP ON ERROR OFF |
Stops writing the JDBC trace when the error <error_code> appears or the first error occurs |
You can also enter the options directly:
java -jar <independent_program_path>\runtime\jar\sapdbc.jar <command_line_option>
To display the current configuration, enter
java –jar <independent_program_path>\runtime\jar\sapdbc.jar SHOW
Glossary, Variables in the Documentation