dbTalk Databases Forums  

Facing problem with DISAM

comp.databases comp.databases


Discuss Facing problem with DISAM in the comp.databases forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
gaurav707gupta@gmail.com
 
Posts: n/a

Default Facing problem with DISAM - 09-04-2007 , 01:08 AM






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)


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.