×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Realia COBOL and Btrieve API (key/data area)

Realia COBOL and Btrieve API (key/data area)

Realia COBOL and Btrieve API (key/data area)

(OP)
Hi
I try hard using pervasive.sql 2000 or btrieve if you prefer. I'm using the API interface from Realia COBOL and ..
It's hard to make btrieve understand what I want to do - and pervasive are not interested in cobol programmers ...
I have tried to define a correct data area for keys and data to be passed on the btrv call

I need to have a primary key
I need to have an alternate key - with no modification
I need to have 3 more keys that are allowed to be modified

all keys and data are defined as string (btrieve)

All keys should be represented within each record
(duplicated)

Any good suggestions here? I have got it half way - but with strange behavior .. btrieve claims my data buffer is not large enough - but it is ..

Perhaps there are tools out there to create data definitions specifically for cobol - btrieve?

Pleased for any light brought to my problems ..

Thanks!

Jan

RE: Realia COBOL and Btrieve API (key/data area)

The information you require resides within the Pervasive/Btrieve Developer's Kit (SDK). Two ways to create Btrieve files are through the CREATE function from within the program or through the use of the BUTIL utility and a description file. If you let me know what you have as far as software and version information, I probably can help you out.

RE: Realia COBOL and Btrieve API (key/data area)

(OP)
Hi ecichy

thanks for your reply - your help is most welcome!

If you send me an e-mail - perhaps I can send you
a code sample that shows what I'm aiming at?

jan.paimo@motiva.a.se

Jan




Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close