Progress
SQL-92
Guide and Reference


SQLCursor.getParam

Retrieves the values of Java OUT and INOUT parameters.

Format

inout_var = getParam( int fieldIndex, short fieldType ) ;

Returns

OUT or INOUT variable

Parameters
inout_var

The target variable into which the value of an OUT or INOUT parameter is stored.

fieldIndex

An integer that specifies the position of the parameter in the parameter list.

fieldType

A short integer that specifies the datatype of the parameter. The allowable defined values for fieldType are listed in Table 6–2, grouped by category of data type.

Table 6–2: Allowable Values for fieldType in getParam 
Character
Exact Numeric
Approximate Numeric
Date-time
Bit String
CHAR
INTEGER
REAL
DATE
BIT
CHARACTER
SMALLINT
FLOAT
TIME
BINARY
VARCHAR
TINYINT
DOUBLE
TIMESTAMP
VARBINARY
NUMERIC
LVARBINARY
DECIMAL

Throws

DhSQLException

NOTES


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095