General syntax for add parameter methods
- Last Updated: January 16, 2026
- 2 minute read
- OpenEdge
- Version 12.8
- Documentation
The general syntax of these methods is as follows:
Syntax
|
- ProgressType
- Indicates the ABL data type of the parameter, such as
DecimalinaddDecimal(), for adding a parameter of data typeDECIMAL. - position
- Specifies a 0-based index indicating the parameter position.
- DataType
- Specifies the Java data type of the parameter, for example,
java.math.BigDecimalorjava.math.BigDecimal[]. - value
- Specifies a variable that contains the value of the parameter, or
nullfor anOUTPUTparameter. - mode
- Specifies the ABL mode (passing direction) of the parameter. This can be one of the following
constant values:
-
ParamArrayMode.INPUT -
ParamArrayMode.INPUT_OUTPUT -
ParamArrayMode.OUTPUT
-
- extentValue
- Specifies the extent of an array for methods that add an array parameter (where
ProgressType is appended with
Array, as inAddDecimalArray()). - MetaType
- Specifies one of the following classes for methods that add a temp-table or ProDataSet
parameter:
-
ProResultSetMetaDataImpl— Provides the schema information for temp-table parameters that are mapped to ajava.sql.ResultSet. For more information on defining this schema, see Define the schema for a temp-table parameter mapped to a java.sql.ResultSet. -
ProDataGraphMetaData— Provides the schema information for ProDataSet parameters and temp-table parameters that are mapped to acom.progress.open4gl.ProDataGraph. For more information on defining the schema for ProDataSet parameters, see Define the schema for a ProDataSet parameter. For more information on defining the schema for temp-table parameters mapped to aProDataGraph, see Define the schema for a temp-table parameter mapped to a ProDataGraph.
-
- metaData
- Specifies an instance of MetaType. When mode is
ParamArrayMode.OUTPUTand ProgressType isDatasetHandleorTableHandle(passing a dynamic ProDataSet or temp-table parameter), you can set this parameter tonull.