Initializing help system before first use

seterror

Purpose
Sets the error status of the dmpresource, affecting the values of the status and lasterror attributes.
Synopsis
procedure seterror(res:dmpresource, status:integer, message:text)
Arguments
res 
The dmpresource.
status 
The error status, one of the following constants
DMP_ACCESS_DENIED 
Resource found but you do not have access to it
DMP_NOT_FOUND 
Resource not found
DMP_IO_ERROR 
Internal error reading or writing data
DMP_PARSE_ERROR 
Internal error parsing data
DMP_AUTH_ERROR 
Error fetching authorization credentials from function
message 
The error message to save into the lasterror attribute.
Further information
It is not typically necessary to call this procedure, as the error state of the dmpresource is automatically set on error cases.

© 2001-2025 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.