HP3000-L Archives

April 2001, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Pat Shugart <[log in to unmask]>
Reply To:
Pat Shugart <[log in to unmask]>
Date:
Thu, 26 Apr 2001 14:56:55 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (36 lines)
Hello all,

I need to determine in a DBFIND (not DBGET) if an entry exists in a specific 
dataset for a key value. I hope I can make my explanation clear enough...

For example:

Dataset A (DETAIL)
PATHNAME = KEY
VALUE = "HI MOM"

Dataset B (DETAIL)
PATHNAME = KEY
VALUE = "HI MOM"
or
The value may not exist at all in B while it exists in A

Both use the same auto-master.

I'm reading in a file and trying to determine if a duplicate record condition would occur if I were to do a DBPUT. I'm thinking that DBFIND only interogates the master entry and its chain length and not specific to the dataset. Is that correct? We tried doing a DBFIND and a DBGET, but it broke something else in the program and we're trying to do as little work as possible (isn't that always the case?)

TIA for any thoughts,


..................................................................
 τΏτ  ®Ώ®*  τΏτ  ®Ώ®*  τΏτ  ®Ώ®*  τΏτ 
..................................................................
Pat Shugart
Trinity Information Services
Farmington Hills, MI 48331
248.489.6123
248.488.9195 (fax)

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2