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-116
Class Transform
Description
This form is equivalent to this clause of the SCREEN COBOL TRANSFORM
statement:
[SELECT CODE FIELD [IS]
code-field
]
CODE
select-code
YIELDS
trans-rec-in
where the
select-code
value is specified as an integer depending on the business
logic. This form instantiates a Pic9 object as the
code-field
. This method is called
once for each
select-code
value in the YIELDS clause.
Parameters
Method yields (select code with string value)
Syntax
public void yields (String selectCode, ScobolType[] outRec)
Description
This form is equivalent to this clause of the SCREEN COBOL TRANSFORM
statement:
[SELECT CODE FIELD [IS]
code-field
]
CODE
select-code
YIELDS
trans-rec-in
where the
select-code
value is specified as a string literal depending on the
business logic. This form instantiates a PicX object as the
code-field
. This method
is called once for each
select-code
value in the YIELDS clause.
Parameters
Method yields (select code with working-storage value)
Syntax
public void yields (ScobolType selectCode, ScobolType[] outRec)
selectCode The
select-code
value in the YIELDS clause, specified as
an integer
outRec An array of ScobolType objects, each one corresponding to a
trans-rec-in
value in the YIELDS clause
selectCode The
select-code
value in the YIELDS clause, specified as a
string literal
outRec An array of ScobolType objects, each one corresponding to a
trans-rec-in
value in the YIELDS clause