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-99
Class PicN
Method Constructor (Justification Specified)
Syntax
public PicN (int size, boolean justification)
Description
Upon construction, the object will contain blanks.
Parameters
Method Constructor (Initialized Data, Left-Justified)
Syntax
public PicN (int size, String data)
Description
In this form, data is left justified. If the number of characters is less than the specified
size, the data will be padded with blanks in accordance with SCREEN COBOL rules. If
the number of characters is more than the specified size, the data will be truncated in
accordance with SCREEN COBOL rules.
Parameters
Method Constructor (Initialized Data, Justification Specified)
Syntax
public PicN (int size, boolean justification, String data)
Description
If the number of characters is less than the specified size, the data will be padded with
blanks in accordance with SCREEN COBOL rules. If the number of characters is more
than the specified size, the data will be truncated in accordance with SCREEN COBOL
rules.
size The number of double-byte characters this object can hold
justification Must be either PicN.LEFTJUSTIFIED or
PicN.RIGHTJUSTIFIED
size The number of double-byte characters this object can hold
data The initial value for this object