Run an internal procedure or user-defined function on an OpenProcObject

Once you obtain your com.progress.open4gl.javaproxy.OpenProcObject instance, you can run any internal procedure or user-defined function defined in the object. However, if you are calling a user-defined function, you must identify the return type of the function before calling it. For more information, see Define the return type for a user-defined function. For information on accessing the return value after calling the function, see Access user-defined function return values.

Run the internal procedure or user-defined function using the following method on the OpenProcObject:

Syntax

public void runProc(String procName, ParamArray paramArray)
                   throws Open4GLException, RunTime4GLException,
                   SystemErrorException
procName
The name of an internal procedure or user-defined function provided by the OpenProcObject.
paramArray
Specifies a com.progress.open4gl.javaproxy.ParamArray that holds the parameters for the internal procedure or user-defined function. For more information, see Create a parameter array.