Try OpenEdge Now
skip to main content
Java Open Clients
Using the Open Client Java OpenAPI to Directly Access the AppServer : Setting up parameters : Defining the schema for a ProDataSet parameter
 

Defining the schema for a ProDataSet parameter

Defining the schema for an ABL ProDataSet (DATASET or DATASET-HANDLE) parameter is a multi-step process.
Note: This is a condensed description with reference to the Java OpenAPI. For complete information on defining the schema for a ProDataSet parameter, see AccessingABL ProDataSets.
To define the schema for a ProDataSet parameter:
1. Define a com.progress.open4gl.ProDataGraphMetaData object to specify the schema.
2. Define the temp-tables for the ProDataGraphMetaData object.
3. Define the data-relations for the ProDataGraphMetaData object.
4. If the parameter is for input or input-output, define a ProDataGraph using the ProDataGraphMetaData object to hold the parameter value.
5. Specify the ProDataGraphMetaData object and any ProDataGraph (for input or input-output) as a ProDataSet parameter to your ParamArray object using the appropriate set parameter method.
* Defining a ProDataGraphMetaData object
* Defining the temp-tables for the ProDataGraphMetaData object
* Defining the data-relations for the ProDataGraphMetaData object
* Define a ProDataGraph for any input parameter
* Specifying the ProDataGraphMetaData object for a ProDataSet parameter