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-115
Class Transform
Parameters
Method doTransform
Syntax
public void doTransform() throws TransformException
Description
Implements the SCREEN COBOL statement TRANSFORM. This method must be
preceded by one or more calls to the yields() method.
Method yields (no select code)
Syntax
public void yields (ScobolType[] outRec)
Description
This form is equivalent to the YIELDS
trans-rec-in
clause of the SCREEN
COBOL TRANSFORM statement. It instantiates a Pic9 object as the
code-field
.
Parameters
Method yields (select code with integer value)
Syntax
public void yields (int selectCode, ScobolType[] outRec)
inRec An array of ScobolType objects, each of which corresponds to
a working-storage item specified in
trans-rec-out
in the
TRANSFORM statement
selectCode The ScobolType object corresponding to the working-storage
item specified in the SELECT CODE FIELD [IS] clause in the
TRANSFORM statement
offset Indicates the position of the selectCode value within
trans-rec-out
in the TRANSFORM statement
outRec An array of ScobolType objects, each one corresponding to a
trans-rec-in
value in the YIELDS clause