logdata - UDM Command

Syntax

logdata data_element_name

Description

The logdata command writes the contents of a data element to the open log file.

If a log file is not open, or the named data element does not exist, an error is issued. This is effectively the same as constructing a fordata loop and writing out each line of the data element with the echolog command.

Any variable references appearing in the contents of the data element will follow the same resolution rules as if the operation were performed using the aforementioned fordata / echolog loop.

Parameters

Parameter

Description

data_element_name

Name of the data element to write to the open log.

Example

To load some information into a data element, execute:


To write that data element to the open log file, execute: