[Info-vax] Help with DECBasic: reading a record in an INDEX SEQ file using a compound key
thick_guy_9
jose.santos.mourinho at gmail.com
Wed Jan 6 08:01:12 EST 2010
All
I need some help with DECBasic. All the examples in the BASIC USER
GUIDE use a simple key.
This is how I open the file:
OPEN sFILENAME AS FILE #1 &
,access modify &
,allow modify &
,map REC_MAP &
,organization indexed &
,primary (PAN, DOB) ! <======= NOTE &
,alternate LAST duplicates changes &
,alternate FIRST duplicates changes
FIND #1, KEY #0 EQ "sMyPAN,sDOB", REGARDLESS
GET #1
The above Get command gives me a "RECORD NOT FOUND" error.
Did I get the syntax correctly?
Thanks!
More information about the Info-vax
mailing list