Retrieving return codes
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
Retrieving return codes
You can create a stored procedure that provides return code information. For example, it might indicate whether the stored procedure was successful or whether it encountered an error condition.
The following example shows how ABL code runs the stored procedure pcust. It uses the
PROC-STATUS function and the CLOSE STORED-PROC statement to retrieve the return code and assign the value to the
variable stat. The meaning of this return code is defined by the underlying data source.
Return status example
|