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.