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 application server, 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 Run procedures and user-defined functions.