Product Documentation

FairCom ISAM for C

Previous Topic

Next Topic

ctGetIsamErrorCode

Declaration

COUNT ctGetIsamErrorCode()

Description

Returns the last ISAM API operation return code. This is the equivalent of the isam_err global variable.

Return Values

Value

Symbolic Constant

Explanation

0

NO_ERROR

Successful operation.

See c-tree Plus Error Codes for a complete listing of valid c-tree Plus error values.

Example

NINT rc = 0


rc = CreateIFile(&my_ifil);

if ( rc )

printf("Error %d in creating file. Check I/O code %d\n", ctGetIsamErrorCode(), ctGetSystemErrorCode() );

See Also

  • ctGetUserErrorCode()
  • ctGetIsamFileNbr()
  • ctGetSystemErrorCode()

TOCIndex