HP3000-L Archives

November 2001, Week 3

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:
"TRAPP,RICH (Non-A-Loveland,ex1)" <[log in to unmask]>
Reply To:
TRAPP,RICH (Non-A-Loveland,ex1)
Date:
Fri, 16 Nov 2001 09:58:03 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (88 lines)
Leonard,
   Is this program running with any different libraries (sl or xl) than the
DBDRIVER test?  This is very interesting indeed! :-).

RAT

   

Rich Trapp <mailto:[log in to unmask]>  

Consulting for Agilent Technologies, Loveland, Colorado.

Managed Business Solutions <http://www.mbsnav.com/>  
200 South College Avenue 
Fort Collins, Colorado 80524-2811 
970.679.2221 (voice) 
970.669.3071 (fax) 



-----Original Message-----
From: Leonard S. Berkowitz [mailto:[log in to unmask]]
Sent: Friday, November 16, 2001 9:15 AM
To: [log in to unmask]
Subject: Strange TurboImage behavior


We have a program that runs in a background job. It has been running
smoothly for several months. Today, it is aborting repeatedly.

The function of the program is to transfer certain data as it is entered by
the users a remote machine to the comparable data base on the local
machine. It is a COBOL program that at the very begining opens the local
data base and then the remote data base. The program is failing on the
DBOPEN of the remote data base (there is a remote session active with the
proper file equation (DEV=remote#). The TI error number is -11 (BAD DATA
BASE NAME OR PRECEDING BLANKS MISSING).

So to satisfy ourselves that neither condition is true, we put in a program
display before each DBOPEN. It's a GOOD data base name and the PRECEDING
BLANKS are present). The literals for the data base name are fully
qualified, but the TI error message drops the accounts. The name of the
account on the local system is different from the account on the remote,
although the data base names are the same.

Local data base literal "  dbname.group.acct01"

Remote data base literal "  dbname.group.acct02"

Both literals are X(26), so the literal is terminated by a blank as
required

 TURBOIMAGE RESULT AT $00000000: RETURN STATUS = -11
 DBOPEN, MODE 1 ON dbname.group                        <no account name>
 BAD DATABASE NAME OR PRECEDING BLANKS MISSING
 HEX DUMP OF STATUS ARRAY FOLLOWS:
 FFF5 0000 0000 02B4 0000 0191 4163 9234 0001 0000

Successful DBOPENs in DBDRIVER returen the following status arrays:

Local
0000 0001 7fff 7fff 0000 11a4 4163 88d4 0001 0000
Remote
0000 0001 7fff 7fff 0000 0191 4164 48d4 0001 0000

I would have expected those two arrays to be identical, except, perhpas for
words 7 and 8 that represent the data base address. Also I would expect
word 6 to be $0191 (decimal 401) for both: Intrinsic number of DBOPEN.

Sooo... The major question from all of this: can anyone suggest a reason
why this suddenly fails. The minor question is why does DBEXPLAIN strip the
account name in the display.

Thanks.
===================
Leonard S. Berkowitz
Perot Health Care Systems
(Harvard Pilgrim Health Care account)
voice: 617-509-1212
fax:   617-509-3737
pager: 781-226-2431

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

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

ATOM RSS1 RSS2