FILEERROR (return file driver error message)

Top  Previous  Next

 

FILEERROR( )

The FILEERROR procedure returns a string containing the "native" error message from the file system (file driver) being used to access a data file. Valid only when ERRORCODE() = 90 or ERRORCODE() = 47.

Return Data Type:

STRING

Example:

PUT(NameFile)            !Write the record

IF ERRORCODE() = 90      !Back-end-specific error occurred

MESSAGE(FILEERROR())

RETURN

END

 

See Also:

ERRORCODE

ERROR

ERRORFILE

FILEERRORCODE

Trappable Run Time Errors