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

Java Import Package Reference
Compaq NonStop Pathway/iTS Web Client Programming Manual520270-001
6-68
Class Pic9P
Parameters
Method Constructor (Sign Leading or Trailing)
Syntax
public Pic9P (int numDigits,
int scalingFactor,
int signFlag)
Description
This form is used to construct the following SCREEN COBOL types:
PIC S9(m)P(n) new Pic9P (m, n, Pic9P.DISPLAY,
Pic9P.SIGNED)
PIC P(n)9(m) COMP new Pic9P (m, -(m+n), Pic9P.COMP,
Pic9P.UNSIGNED)
PIC SP(n)9(m) COMP new Pic9P (m, -(m+n), Pic9P.COMP,
Pic9P.SIGNED)
PIC P(n)9(m) new Pic9P (m, -(m+n), Pic9P.DISPLAY,
Pic9P.UNSIGNED)
PIC SP(n)9(m) new Pic9P (m, -(m+n), Pic9P.DISPLAY,
Pic9P.SIGNED)
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
computational
Must be either PicP9.COMP or PicP.DISPLAY
signed
Must be either Pic9P.SIGNED or Pic9P.UNSIGNED
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)
SCREEN COBOL Type Java Type