Hi Friends,
i am new to DISAM and facing a problem. So expect some help from you.
I am using D-ISAM byte design in my code.
But while writing a small program i am getting error 103 for isstart.
my key has 3 parts,
i) a charater array of size 50 (name of application)
2) an integer (parent no)
3) another integer (seq no)
my code extract is like
(void) isstrec(table,rec,buf);
printf(" After isstrec iserror no [%d] ",iserrno);
if(isstart(ifd,keyname,keylen,buf,mode) == ISERROR)
{
printf(" After isstart iserror no [%d] ",iserrno);
return -1;
}
In my program I am reading a ISAM file from start, pick application
name from it, getting the record for application (isread) and then
again writing the same record to another isam file based on some
condition.
we are using istart for the first part (application name) of the key.
So we have given keylen as only 50 (lenght of application name)


|