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-28
Class ScreenFieldArray
Description
Equivalent to the MUST [BE] field-characteristic clause. For example, the SCREEN
COBOL clause
OCCURS IN
columns-literal
COLUMNS ON
lines-literal
LINES
MUST BE 10 THRU 20, HELLO
has this Java equivalent:
String[] valueMustBe = {"10","20","HELLO","HELLO"};
screenfieldArrayObject.setMUSTBE (valueMustBe);
Parameters
Method setSHADOWED
Syntax
public void setSHADOWED (ScobolType shadowByte,
boolean isReturnBitAlwaysSet)
Description
Equivalent to the SHADOWED [BY] field-characteristic clause, as in:
OCCURS IN
columns-literal
COLUMNS ON
lines-literal
LINES
SHADOWED [BY]
data-name-1
Parameters
Method setUPSHIFT
Syntax
public void setUPSHIFT (int i)
valueMustBe Corresponds to the
literal-n
values in the MUST [BE]
clause. The array must be of the form
{minVal1,maxVal1,minVal2, maxVal2,...}. Each maxVal
x
must
be >= minVal
x
. If a value is to be discrete rather than a range,
then set minVal
x
and maxVal
x
to the same discrete value.
shadowByte Corresponds to
data-name-1
in the SHADOWED
[BY] clause
isReturnBitAlwaysSet Must be TRUE if the modified data tag (MDT) for the
screen field is set to ON; otherwise, must be FALSE