Release 10.1A: OpenEdge Development:
Java Open Clients

> ## Accessing RETURN-VALUE function output from procedures

> You can access the value of the `RETURN-VALUE` function set by running a Progress 4GL 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` — Returning the value set by the last internal procedure executed in the associated persistent procedure:

> 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:

> Syntax
>     public String getProcReturnString()

> For more information on using these objects to execute procedures, see the "Running procedures and user-defined functions" section.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095