Pass INPUT-OUTPUT parameters
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
INPUT-OUTPUT parameter requires several steps to provide a
value as input to an application service procedure or user-defined function, then to return a
value as output using the same parameter. To pass an INPUT-OUTPUT parameter:
- Create and initialize a variable for the parameter of the correct Java data type (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 output value from the
ParamArray(see Get OUTPUT parameter values). You might also want to reset the variable for reuse.
INPUT-OUTPUT integer parameter that does not
support the Unknown value (?). Example: Passing an INPUT-OUTPUT parameter using the Java OpenAPI
|