FILEERRORCODE (return file driver error code number)

Top  Previous  Next

 

FILEERRORCODE( )

The FILEERRORCODE procedure returns a string containing the code number for 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(FILERRORCODE())

RETURN

END

 

See Also:

FILEERROR

ERRORFILE

ERRORCODE

ERROR

Trappable Run Time Errors

Extended Errorcode 47 Errors