Pathway/iTS Web Client Programming Manual (G06.24+)
Java Import Package Reference
Compaq NonStop Pathway/iTS Web Client Programming Manual—520270-001
6-94
Class PicN
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.
Parameters
Method getValue
Syntax
public String getValue()
Return Value
Returns the object as a Java string.
Method isDoubleByte
Syntax
public boolean isDoubleByte()
Description
Equivalent to the SCREEN COBOL clause IS [NOT] DOUBLEBYTE in the statement
IF ws-item IS [NOT] DOUBLEBYTE, where ws-item is a PIC N identifier.
Return Value
Returns TRUE if all the characters in this object are double-byte characters, or FALSE if
at least one of them is a single-byte character. If negated, returns FALSE if all the
characters in this object are double-byte characters, or TRUE if at least one of them is a
single-byte character.
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().