Release 10.1A: OpenEdge Development:
Java Open Clients

> ## Setting up parameters

> Before running an application service procedure or user-defined function, it might require parameters that you must pass. Before passing the parameters, you must set them up in two basic steps using the Java OpenAPI.

> | To pass parameters to an application service procedure or function:

> 1. Create a variable for each parameter.

> 2. Add each variable to a parameter array as required for the procedure or function you are calling.

> The following sections describe how to complete these steps:

> - Creating variables for parameters

> - Setting up a parameter array

> - Adding parameters using data type-specific methods

> - Adding parameters using a generic method

> - Defining the return type for a user-defined function

> - Defining the schema for a temp-table parameter mapped to a java.sql.ResultSet

> - Defining the schema for a ProDataSet parameter

> - Defining the schema for temp-tables in a ProDataSet

> - Defining the schema for a temp-table parameter mapped to a ProDataGraph

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