ABL language element
|
Description
|
RUN STORED-PROCEDURE statement
|
Executes a stored procedure
|
PROC-HANDLE phrase
|
Allows you to specify a handle to identify a stored procedure
|
PROC-STATUS phrase
|
Reads the return value
|
LOAD-RESULT-INTO phrase
|
Allows data from a result set that is returned for a foreign data source to be put into one or more temp-tables
|
PARAM phrase
|
Identifies run-time parameters to be passed to and/or from the stored procedure
|
CLOSE STORED-PROCEDURE statement
|
Enables the values to be retrieved from the output parameters that you defined for the stored procedure, finalizes result sets data processing, and tells OpenEdge that the stored procedure has ended
|
NO-ERROR phrase
|
Allows native database errors (that occur during stored procedure execution) to be evaluated and handled by the application.
Note: This can also be achieved by a CATCH end block in the stored procedure.
For more information on handling errors using the NO-ERROR option or a CATCH end block, see Handling errors.
|
OpenEdge
|
MS SQL Server data source
|
DECIMAL
INTEGER
INT64
|
The DataServer converts each of these data types in the schema image to the equivalent default OpenEdge data type as follows:
DECIMAL=DECIMAL(default) , or Float
INTEGER=INTEGER
INT64=BIGINT
However, you can use the Data Dictionary to update the data type and format information in the field property sheet for the parameter.
|
CHAR
|
The data source represents this type as a VARCHAR parameter. Its size cannot exceed the VARCHAR size limit for the associated data source. If the VARCHAR parameter exceeds this limit, it causes an error.
|
DATE
|
If you pass a DATE data type as an input parameter and use it in an equality test, the test might fail. In this case, use DATEPART() or DATEDIFF() in the Transact-SQL of your native stored procedure to isolate parts of the date structure for which you might want to test.
|
DATETIME
|
You can specify a DATETIME data type in a temp table used to receive results from a stored procedure using the LOAD-RESULT-INTO phrase.
|
MEMPTR
|
You can specify a MEMPTR data type in a Param phrase as an INPUT or an OUTPUT parameter to receive results from a corresponding BLOB data type parameter to or from a RUN STORED-PROCEDURE statement.
|
LONGCHAR
|
You can specify a LONGCHAR data type in a Param phrase as an INPUT or an OUTPUT parameter to receive results from a corresponding CLOB data type parameter to or from a RUN STORED-PROCEDURE statement.
|