Introduction

All the KISAM API functions return an integer return code. Usually this will be zero indicating success but it may be a positive value indicating either a special circumstance such as reaching the end of the file or an actual error.

Text to go with the code can be obtained by calling the KISAMGetErrorMsg function.