Product Documentation

FairCom ISAM for C

Previous Topic

Next Topic

ctGetIsamFileNbr

Declaration

COUNT ctGetIsamFileNbr()

Description

Returns the current ISAM file number involved in the last ISAM error condition. This is the equivalent of the isam_fil global variable.

Return Values

Returns a file number.

Example

NINT rc = 0


rc = CreateIFile(&my_ifil);

if ( rc )

printf("Error %d in creating file. File number: %d, rc, ctGetIsamFileNbr() );

See Also

  • ctGetUserErrorCode()
  • ctGetIsamErrorCode()
  • ctGetSystemErrorCode()

TOCIndex