Pathway/iTS Web Client Programming Manual (G06.24+)

Java Import Package Reference
Compaq NonStop Pathway/iTS Web Client Programming Manual520270-001
6-82
Class Pic9V
Return Value
Returns the byte array used to represent the numeric value in the NonStop Kernel.
Method setHostValue
Purpose
Updates the value of the object with the given byte array.
Syntax
public void setHostValue (byte[] data)
Description
This method is used to store a byte pattern in this object. Whether the byte array
represents a valid numeric value is not verified. (In SCREEN COBOL, a numeric
variable can hold nonnumeric data if the variable is part of a group and the group is the
target of a group move.)
Parameters
Method getValue
Syntax
public double getValue()
Description
If the object is non-computational, the byte contents must be ASCII 0 through ASCII 9
(except for the sign byte).
Return Value
Returns the numeric value stored in the object.
data
The byte array whose contents will be the new value of this object.
The length of the array must be greater than or equal to
getHostLength().