Pathway/iTS Web Client Programming Manual (G06.24+)
Java Import Package Reference
Compaq NonStop Pathway/iTS Web Client Programming Manual—520270-001
6-56
Class Pic9
Parameters
Method Constructor (Sign Leading or Trailing)
Syntax
public Pic9 (int numDigits,
int signFlag)
Description
This form is used to construct the following 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()
numDigits
The number of digits in the integer; must be between 1 and 18,
inclusive
computational
Must be either Pic9.COMP or Pic9.DISPLAY
signed
Must be either Pic9.SIGNED or Pic9.UNSIGNED
SCREEN COBOL Type Java Type
PIC S9(n) sign lead new Pic9 (n, Pic9.SIGNLEADING)
PIC S9(n) sign trail new Pic9 (n, Pic9.SIGNTRAILING)
PIC S9(n) sign lead separate new Pic9 (n,
Pic9.SIGNLEADINGSEPARATE)
PIC S9(n) sign trail separate new Pic9 (n,
Pic9.SIGNTRAILINGSEPARATE)
numDigits
The number of digits in the integer; must be between 1 and 18,
inclusive
signFlag
Must be one of Pic9.SIGNLEADING, Pic9.SIGNTRAILING,
Pic9.SIGNLEADINGSEPARATE, or
Pic9.SIGNTRAILINGSEPARATE