Creating an Initialization File

A UNISYSDB/INI file is used to set trace options. The UNISYSDB/INI file is a sequential data file that can be created using CANDE or another text editor. If you do not create a UNISYSDB/INI file, all Query Processor CLI options are set to their default values.

UnisysDBTrace Options

Option

Value

Definition

TraceFile

Valid MCP file name

Identifies the trace file name.

TraceLog

Valid MCP file name

Identifies the trace log file name.

TraceEnable

0

Disables the tracing option. This is the default value.

 

1

Enables the tracing option.

TraceLevel

< 0 (Negative number)

Enables logging. Creates TraceLog.

 

0

No tracing.

 

1

Traces API calls only after an error is found.

 

2

Traces all API calls. This is the default value.

ProgramDump

0

Does not dump the program when an API fault occurs. This is the default value.

 

1

Dumps the program to disk when an API fault occurs.

Example UNISYSDB/INI File

[UnisysDBTrace]
TraceFile = UNISYSDB/TRACE
TraceEnable = 1
TraceLevel = 2
ProgramDump = 0