print error argument: Print an error message (SQL administration API)

Use the print error argument with the admin() or task() function to print the message associated with the specified error number.

Syntax

EXECUTE FUNCTION { admin | task } ( "print error" ,"error_number" ) ;
Element Description Key Considerations
error_number The error number, without a minus sign. The error_number must be an existing error number.

Usage

This function is equivalent to the finderr utility.

Example

The following example prints the message text for the error number -105:
EXECUTE FUNCTION task("print error","105");
(expression)  ISAM error:  bad isam file format.