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

Java Import Package Reference
Compaq NonStop Pathway/iTS Web Client Programming Manual520270-001
6-116
Class Cursor
Method Constructor
Syntax
public Cursor()
Method getHostLength
Purpose
Returns the number of bytes required to store the NonStop Kernel representation of the
data.
Syntax
public int getHostLength()
Return Value
Returns the number of bytes required to represent the equivalent SCREEN COBOL data
item in the NonStop Kernel.
Method getHostValue
Purpose
Returns the NonStop Kernel representation of the data as a byte array.
Syntax
public byte [] getHostValue()
Description
The length of the returned byte array will be the same as that returned by
getHostLength().
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)