Pass OUTPUT parameters
- Last Updated: July 22, 2025
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
OUTPUT parameter requires several steps to provide a
parameter as output from an application service procedure or user-defined function, then to
get the value returned by the parameter. To pass an OUTPUT parameter:
- Create a variable of the correct Java data type to hold the returned value for the parameter (see Create variables for parameters).
-
Add the parameter to a
ParamArrayobject (see Create a parameter array). - Run the procedure or user-defined function (see Run procedures and user-defined functions).
-
Get the value from the
ParamArray(see Get OUTPUT parameter values).
OUTPUT integer parameter that does not
support the Unknown value (?). Example: Passing an OUTPUT parameter using the Java OpenAPI
|