Download Introduction
Transcript
Fileman 22.2 Programmer Manual
Alphabetical Order
Database Server (DBS) Calls Presented in
Now, you will do the exact same call as in Example 1, but this time you will
not include the X flag, so it will find not only "DIFG", but also any partial
matches to "DIFG". Since there are several, it cannot find just one match, so
the call fails. The return is null and an error message is returned as well.
>W $$FIND1^DIC(19,"","M","DIFG","","","ERR")
DIERR=1^1
ERR("DIERR")=1^1
ERR("DIERR",1)=299
ERR("DIERR",1,"PARAM",0)=2
ERR("DIERR",1,"PARAM",1)=DIFG
ERR("DIERR",1,"PARAM","FILE")=19
ERR("DIERR",1,"TEXT",1)=More than one entry matches the value(s)
'DIFG'.
ERR("DIERR","E",299,1)=
In this example, you will do two different calls to find an entry on a test
file. There are two entries whose .01 field equals "ADDFIFTEEN". In the
first call, you'll do the lookup on the "B" index and the call fails because
there are two entries that match the lookup value.
>W $$FIND1^DIC(662001,"","","ADDFIF","B","","ERR")
>ZW ERR
ERR("DIERR")=1^1
ERR("DIERR",1)=299
ERR("DIERR",1,"PARAM",0)=2
ERR("DIERR",1,"PARAM",1)=ADDFIF
ERR("DIERR",1,"PARAM","FILE")=662001
ERR("DIERR",1,"TEXT",1)=More than one entry matches the value(s)
'ADDFIF'.
ERR("DIERR","E",299,1)=
But if you try the call again and this time use the "BB" index for the file,
which indexes the .01 field NAME and also field 1, DATE OF BIRTH, you
can pass lookup values for both the fields, and the call is successful because
300
March 2013
Related documents
Programmer`s Manual - MSC Fileman 22.2 Documentation
Cahier des charges pour l`action "diagnostic
Fileman 22.2 Advanced User Manual
User Reference Guide - MSC Fileman 22.2 Documentation
document - WorldVistA
Release Notice - Oracle Documentation
VENSTAR
OSEHRA Document - MSC Fileman 22.2 Documentation
Soneco MC3 USER MANUAL
Fileman 22.2
outpatient pharmacy technical manual/security guide
System Management