Try OpenEdge Now
skip to main content
Java Open Clients
Using the Open Client Java OpenAPI to Directly Access the AppServer : Handling returned values : Accessing RETURN-VALUE function output from procedures
 

Accessing RETURN-VALUE function output from procedures

You can access the value of the RETURN-VALUE function set by running an ABL procedure using methods available from any of three Java OpenAPI objects:
*com.progress.open4gl.javaproxy.OpenAppObject — For returning the value set by the last procedure executed on the associated AppServer, use this method:
Syntax
public String _getProcReturnString() throws Open4GLException
*com.progress.open4gl.javaproxy.OpenProcObject — For returning the value set by the last internal procedure executed in the associated persistent procedure, use the following method:
Syntax
public String _getProcReturnString() throws Open4GLException
*com.progress.open4gl.javaproxy.ParamArray — Returning the value set by the non-persistent, persistent, or internal procedure executed with parameters passed by the specified ParamArray object, use this method:
Syntax
public String getProcReturnString()
For more information on using these objects to execute procedures, see Running procedures and user-defined functions.