CISAM: problem with isbuild returns iserrno=132
Posted in 1992
Topics: General Discussion
I have just started using Cisam version 4.1 on a SGI machine running Irix 4.04. I have used older version with out problems but I can't get variable length records to work at all. Below is a short program which illustrates the problem. isbuild always fails with iserrno 132 - "record too long". If I remove the ISVARLEN it works fine. Have I done something stupid?? Thanks, Russell. ------------------------------------------------------------------------ #include <isam.h> #include <stdio.h> main () { struct keydesc exp_key = {ISDUPS, 1, {{113, 10, CHARTYPE} } }; if (isbuild ("test", 136, &exp_key,ISOUTPUT + ISVARLEN + ISMANULOCK) < 0) { fprintf (stderr, "isbuild: failed to create test iserrno %d\\n", iserrno); if (iserrno < 100) perror("isbuild"); exit (1); } /* if */ } -- Russell Fulton, Computer Center, University of Auckland, New Zealand. <rj_fulton@aukuni.ac.nz>