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-75
Class Pic9P
Description
This form is used to construct these SCREEN COBOL types:
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.
SCREEN COBOL Type Java Type
PIC S9(m)P(n) sign lead new Pic9P (m, n, Pic9P.SIGNLEADING)
PIC S9(m)P(n) sign trail new Pic9P (m, n, Pic9P.SIGNTRAILING)
PIC S9(m)P(n) sign lead
separate
new Pic9P (m, n,
Pic9P.SIGNLEADINGSEPARATE)
PIC S9(m)P(n) sign trail
separate
new Pic9P (m, n,
Pic9P.SIGNTRAILINGSEPARATE)
PIC SP(n)9(m) sign lead new Pic9P (m, -(m+n), Pic9P.SIGNLEADING)
PIC SP(n)9(m) sign trail new Pic9P (m, -(m+n),
Pic9P.SIGNTRAILING)
PIC SP(n)9(m) sign lead
separate
new Pic9P (m, -(m+n),
Pic9P.SIGNLEADINGSEPARATE)
PIC SP(n)9(m) sign trail
separate
new Pic9P (m, -(m+n),
Pic9P.SIGNTRAILINGSEPARATE)
numDigits The number of digits in the integer; must be between 1 and 16,
inclusive
scalingFactor Indicates scaling of digits; must be between -16 and 15,
inclusive; the sum of numDigits and scalingFactor must
be between -15 and 16, inclusive
signFlag Must be one of PicP.SIGNLEADING, Pic9P.SIGNTRAILING,
PicP.SIGNLEADINGSEPARATE, or
PicP.SIGNTRAILINGSEPARATE