beautypg.com

Getstringerrordetail, Noerror, Setvalue – HP NonStop G-Series User Manual

Page 310: Getvalue

background image

getStringErrorDetail

String getStringErrorDetail()

Returns The detail system error message or null.

Usage Get the detail system error message. This information is available only to
TUXEDO 6.4 and then only if the service call has timed out.

noError

boolean noError()

Returns True if there is no error.

Usage Test if no error was encountered in the corresponding service invocation.

setValue

setValue(String name, String value)

name

The name of the data element.

value

The string value for the data element.

Usage This method is same as setValueByIndex(name,0,value) for non-octet value.

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.