Pathway/iTS Web Client Programming Manual (G06.24+)
Java Import Package Reference
Compaq NonStop Pathway/iTS Web Client Programming Manual—520270-001
6-107
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)
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
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