Script function: Supplies the values of the memory range in a trace file.
TRACE_DUMP (Trace option, trace level, memory range[, memory range,...][, additional info])
Syntax |
Description/format |
---|---|
Trace option |
Trace setting Allowed values: "1" - TCP/IP |
Trace level |
Size of the trace The allowed values depend on the selected trace option. |
Memory range |
Memory range that is to be recorded Format: script literal or script variable Allowed values: Separate several memory ranges that are to be recorded with commas. |
Additional info |
Any additional text or information Format: script literal or script variable |
Return codes |
---|
"0" - Trace was successful. |
This script function only serves diagnostic purposes and must only be used in close cooperation with the support team.
To enable trace output, keep the following instructions in mind:
The trace output is written to the file specified in the INI file of the Server (see [TRACE] section).
The script function LOG_DUMP works similarly but writes the result to the log file and considers all values.
In the example below, a trace is activated for several memory ranges. The trace is successful when a database trace with at least one of four trace levels was activated in the properties of the server processes.
:SET &RET# = TRACE_DUMP(2,4, "DB + XAO(XAO_Idnr, XAO_MsgNr), LOCAL_MEMORY, SCRIPT_VARA", "Various Information")
See also:
Script element | Description |
---|---|
LOG_DUMP | Outputs values of the memory range to a log file |
Outputs values to a trace file |
About Scripts
Script Elements - Alphabetical Listing
Script Elements - Ordered by Function