Pathway/iTS Web Client Programming Manual (G06.24+)
Java Import Package Reference
Compaq NonStop Pathway/iTS Web Client Programming Manual—520270-001
6-108
Class Transform
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 the following 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)
Description
This form is equivalent to the following clause of the SCREEN COBOL TRANSFORM
statement:
[SELECT CODE FIELD [IS] code-field]
CODE select-code YIELDS trans-rec-in
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