Leonard,
The problem is that you are getting a TPI error during the DBOPEN. The
TPI product is not able to open the data base for one reason or another.
Based on your NMQUERY example, my guess is you are using Omnidex. The
error number you are getting is 3949.
When the TPI product is unable to open the database, Image stops and
fails as if Image had an error during the open. Unfortunately, when
this occurs with a TPI product, the TPI specific information is not
completed, and Image decides it cannot call the TPI product anymore.
So, the TPI product returns the +/- 3nnn error, and Image fails as it
should. Then the application (Query, in this example) calls DBERROR or
DBEXPLAIN. Image doesn't need a base open for these routines, all they
need is the error number. However, since IMAGE cannot call the TPI
product, it does not recognize the +/- 3nnn number and, ta-da, you get
the results you see.
I'm not sure which version of IMAGE or Omnidex you are using, but I
recall there was discussions on how to solve this problem. You might
check to see if a later version of IMAGE and Omnidex allows the actual
error message to be displayed.
lb
> From: Leonard Berkowitz [SMTP:[log in to unmask]]
> Sent: Monday, February 08, 1999 12:28 PM
> To: [log in to unmask]
> Subject: Unexpected QUERY errors
>
> Perhaps someone can shed some light on the following error. Thanks.
>
> ========================
> Leonard S. Berkowitz
> mailto:[log in to unmask]
> phone: (617) 972-9400 ext. 3250
> fax: (617) 923-5555
>
> A TurboImage data base was restored from production to a test system
> last Friday. The
> user's report the following in QUERY:
>
> DEV:QUERY
> HP32216D.03.13 QUERY/3000 MON, FEB 8, 1999, 3:10 PM
> COPYRIGHT HEWLETT-PACKARD CO. 1976
>
> >B=HMODPB.DATAPB.TST3
> PASSWORD = >>
> MODE = >>5
> TurboIMAGE Error Message:
>
> **** INTERNAL TRAP
> Data Memory Protection Trap
> [VSM] Invalid Address Alignment
> ABORT: QUERY.PUB.SYS
> NM PUB 2ad.00e64d90 ti'dberror+$118
> NM SYS a.00e8fd94 arg_regs+$28
> CM SYS % 24.350 HPSWTONMPLABEL+%4 SUSER1
> CM PROG % 13.2660 DBML'ERROR+%666 QS16
> Program terminated in an error state. (CIERR 976)
>
> If I try the same in QUERYNM, I get the following:
>
> DEV:QUERYNM
> HP32216N.03.13 QUERY/NM MON, FEB 8, 1999, 3:11 PM
> COPYRIGHT HEWLETT-PACKARD CO. 1976
>
> >B=HMODPB.DATAPB.TST3
> PASSWORD = >>
> MODE = >>5
> TurboIMAGE Error Message:
> UNRECOGNIZED RETURN STATUS: 3949
|