Pathway/iTS Web Client Programming Manual (H06.03+, J06.03+)

Table Of Contents
Java Import Package Reference
HP NonStop Pathway/iTS Web Client Programming Manual520270-003
6-107
Class PicX
than the specified size, the data will be truncated in accordance with SCREEN COBOL
rules.
Parameters
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 alphanumeric 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 alphanumeric value in the NonStop
Kernel.
size The number of characters this object can hold
justification Must be either PicX.LEFTJUSTIFIED or
PicX.RIGHTJUSTIFIED
data The initial value for this object