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

Java Import Package Reference
Compaq NonStop Pathway/iTS Web Client Programming Manual520270-001
6-91
Class PicN
Abstract Method Implementation
Class-Specific Methods
Literals
LEFTJUSTIFIED
RIGHTJUSTIFIED
Method Constructor
Syntax
public PicN (int size)
Description
In this form, data is left-justified. Upon construction, the object will contain blanks.
Parameters
getHostLength() Returns the number of bytes required to store the
NonStop Kernel representation of the data
getHostValue() Returns the NonStop Kernel representation of the
data as a byte array
setHostValue() Updates the value of the object with the given byte
array
getValue() Returns the value in native Java type
isDoubleByte() Equivalent to the SCREEN COBOL clause IS [NOT]
DOUBLEBYTE in the IF ... DOUBLEBYTE
statement
moveAll() Equivalent to the SCREEN COBOL MOVE ALL
statement
setSpaces() Equivalent to the SCREEN COBOL MOVE
SPACES statement
setValue() Equivalent to the statement MOVE data-name-1
TO data-name-2
size
The number of double-byte characters this object can hold