LOG_DUMP
Use the LOG_DUMP script function to output values of the memory ranges to a log file.
Syntax
LOG_DUMP (Memory range [, memory range,...][, additional info])
Parameters
-
LOG_DUMP
Outputs the value of the memory to a log file
-
Memory range
Memory range that is to be recorded
Format: script literal or script variable
Allowed values:
"WORK MEMORY"
"LOCAL MEMORY"
"XML + XML-Handle"
"DB + Table name(column name;column name;...)"
"DB + Table name"
"SCRIPT_VARA"
"SCRIPT_PRG"
"USER_TAB"
"CLNT_TAB"
"EX_TAB"
"*_TAB"
"GIVE_ME_ALL"
Note: 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
The trace was successful
-
20209
The indicated memory range is not supported
-
20210
The XML handle is wrong
-
20211
The table does not exist
Notes:
-
This script function only serves diagnostic purposes and must only be used in close cooperation with the support team!
-
The trace output is written to the file specified in the INI file of the Server (see [GLOBAL] section). For more information, see Automation Engine.
-
The script function TRACE_DUMP works similarly but writes the result to the trace file and considers the specified trace option and a trace level. For more information, see TRACE_DUMP.
Example
In the following example, a trace for several memory ranges is activated:
:SET &RET# = LOG_DUMP("XML + &xml_hnd#, SCRIPT_VARA, SCRIPT_PRG")
See also:
- TRACE - Outputs values to a trace file
- TRACE_DUMP - Outputs values of the memory range to a trace file
- Functional Logic with Scripts