This section lists the C-ISAM error codes and associated messages. These error numbers are found in @SYSERR. When a C-ISAM error occurs, iserrno can assume values ranging from 1 to 199. Operating system errors range from 1 to 99 and C-ISAM errors range from 100 to 199 (although error numbers 154 to 199 are currently not used).

100 EDUPL      

Action:   An attempt was made to add a duplicate value to an index by way of iswrite, isrewrite, isrewcurr, or isaddindex.

101 ENOTOPEN

Action:   An attempt was made to perform some operation on a C-ISAM file that was not previously opened using the isopen call.

102 EBADARG

Action:   One of the arguments of the C-ISAM call is not within the range of acceptable values for that argument.

103 EBADKEY

Action:   One or more of the elements that make up the key description is outside of the range of acceptable values for that element.

104 ETOOMANY

Action:   The maximum number of files that can be open at one time would be exceeded if this request were processed.

105 EBADFILE

Action:   The format of the C-ISAM file has been corrupted.

106 ENOTEXCL

Action:   In order to add or delete an index, the file must have been opened with exclusive access.

107 ELOCKED

Action:   The record or file requested by this call that cannot be accessed because it has been locked by another user.

108 EKEXISTS

Action:   An attempt was made to add an index that has been defined previously.

109 EPRIMKEY

Action:   An attempt was made to delete the primary key value.  The primary key cannot be deleted by the isdelindex call.

110 EENDFILE

Action:   The beginning or end of file was reached.

111 ENOREC

Action:   No record could be found that contained the requested value in the specified position.

112 ENOCURR

Action:   This call must operate on the current record.  The current record is not defined.

113 EFLOCKED

Action:   The file is exclusively locked by another user.

114 EFNAME

Action:   The filename is too long.

115 ENOLOK

Action:   The lock file cannot be created.

116 EBADMEM

Action:   Adequate memory cannot be allocated.

117 EBADCOLL

Action:   Bad custom collating.

118 ELOGREAD

Action:   Cannot read log file record.

119 EBADLOG

Action:   Transaction log file record format cannot be recognized.

120 ELOGOPEN

Action:   Cannot open transaction log file.

121 ELOGWRIT

Action:   Cannot write to transaction log file.

122 ENOTRANS

Action:   Not in transaction.

124 ENOBEGIN

Action:   Beginning of transaction not found.

125 ENONFS

Action:   Cannot use Network File Server.

126 EBADROWID

Action:   Bad record number.

127 ENOPRIM

Action:   No primary key.

128 ENOLOG

Action:   No logging.

129 EUSER      

Action:   Too many users.

130 ENODBS

Action:   Dbspace not found.

131 ENOFREE

Action:   No free disk space.

132 EROWSIZE

Action:   Record too long.

133 EAUDIT

Action:   Audit trail exists.

134 ENOLOCKS

Action:   No more locks.

150 EDEMO

Action:   Demo limits have been exceeded.

153 ENOMANU

Action:   Must be in ISMANULOCK mode.

Comment on this topic

Topic ID: 720027