Getvalue, Setvaluebyindex, Getvaluebyindex – HP NonStop G-Series User Manual
Page 301

getValue
String getValue(String name, String defval)
name
The name of the data element.
defval
The default string value for the data element, if it does not exist.
Returns The string value of the data element or the default value.
Usage Get the string value of a data element associated with a name. Most output data, except
carray (octets) data type, are automatically converted to String. If there is a type-cast error, the
default value will be returned.
setValueByIndex
setValueByIndex(String name, int index, String value)
name
The name of the data element.
index
The index of the data element, starting from 0.
value
The string value for the data element.
Usage Set the string value of a data element associated with a name and an index.
getValueByIndex
String getValueByIndex(String name, int index, String defval)
name
The name of the data element
index
The index of the data element, starting from 0.
defval
The default value if the data element does not exist.