appenddata - UDM Command
Syntax
appenddata data_element_name [value_1]... [value_n]
Description
The appenddata command appends a line of text to the end of an existing data element or, if that data element does not exist, creates a data element containing that line of text.
The data_element_name parameter specifies the name of a data element.
The value_ parameters, which specify the text to be appended, are concatenated.
Variable references and expressions in these parameters are resolved, as with any other command, before assembling the line (with no spaces between each value) and appending it to the data element.
Parameters
Parameter | Description |
---|---|
data_element_name | Name of a data element. |
value_1 | First value in the line of text to be appended. |
value_n | Last value in the line of text to be appended. |
Examples
To append The answer to 1 + 1 is 2 to the data element mydata:
appenddata mydata "The answer to 1 + 1 is " <1 + 1>
To append SingleSystemImage to the data element mydata:
appenddata mydata Single System Image