C-ISAM on SCO, why does isbuild not work?
Posted in 1991
Path: emory!samsung!dali.cs.montana.edu!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!wupost!micro-heart-of-gold.mit.edu!bloom-beacon!eru!hagbard!sunic!lth.se!newsuser From: jh@efd.lth.se (Joergen Haegg) Newsgroups: comp.databases,biz.sco.general Message-ID: <1991Sep9.211542.24649@lth.se> Date: 9 Sep 91 21:15:42 GMT Sender: newsuser@lth.se (LTH network news server) Reply-To: jh@efd.lth.se (Joergen Haegg) Organization: Lund Institute of Technology, Sweden I've tried the following program from the C-ISAM manual. But I get -1 from isbuild, and iserrno is 102. Is there something wrong with the arguments to isbuild? #include <isam.h> main(int argc, char *argv[]) { int x; struct keydesc p; p.k_flags = ISNODUPS; p.k_nparts = 1; p.k_part[0].kp_start = 0; p.k_part[0].kp_leng = 4; p.k_part[0].kp_type = LONGTYPE; x = isbuild("employee", 84, &p, ISINOUT); printf("x:%d, iserrno %d\\n", x, iserrno); } -- Joergen Haegg jh@efd.lth.se postmaster@efd.lth.se System manager @ efd 046-107492 Lund Institute of Technology E-huset, DDG, Ole R|mers v. 3 221 00 LUND, Sweden