Was this helpful?
ErrorStatus Attribute
Data Type: integer
4GL Access: R
The ErrorStatus attribute contains the error number if an error occurs when you explicitly set the FileHandle attribute, or fetch or update the object from the database.
You can explicitly set a FileHandle for a LongVcharObject in the following ways:
By an assignment statement
In the target list of a statement, such as a select statement
By passing the attribute by reference to a procedure
The ErrorStatus attribute is not affected by errors that occur when you use any of the methods associated with the string object to set a FileHandle attribute.
OpenROAD resets this attribute each time you explicitly set the FileHandle attribute. If the operation was successful, the ErrorStatus is set to zero. If the operation failed, this attribute is set to a non-zero value.
Last modified date: 06/25/2024