BizTalk 2006 Host Adapters for IBM DB2
- From: Jim Wood <Jim Wood@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 6 Feb 2007 16:28:00 -0800
I am currently testing the DB2 Adapter going to an AS400. Our AS400 DB file
has a processed flag which we set to indicate various states. I can select
and get data into Biztalk using the following SQL command on the DB2
Transport Properties
select * from j.dld8cpp where D8WYS0 = 'Y'
My problem is when I attempt to use the "Update Command" portion of the DB2
Transport Properties. I select the Update Command, which gives me three
options
a) do nothing, b) delete after read or c)Update Command. I select the field
I wish to change after the read and this is what the tool generates:
UPDATE j.dld8cpp SET D8WYS0 = 'N' WHERE CURRENT OF <CURSOR>
Upon enabling the recieve location, the adapter throws an SQL update
exception and registers this error message in the Event Viewer:
Event Type: Warning
Event Source: BizTalk Server 2006
Event Category: BizTalk Server 2006
Event ID: 5740
Date: 2/6/2007
Time: 3:43:28 PM
User: N/A
Computer: AITORDBIZTK02
Description:
The adapter "DB2" raised an error message. Details "Cursor SQLCURCS1?J.J for
table *N read-only. SQLSTATE: 42828, SQLCODE: -510".
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
On the SQL connection string I use my AS400 login which has full security
authority, I changed permissions on the DB file to allow public to do full
admin on it.
Anyone run across similar issues with the DB2 adapter?
****** On a side note if I try to go back into the DB2 Update Command area
and change the field I was trying to set. I get the followin error during
validation of the field:
Validation Error: The field D8WYS0 has a string value of "N" that is too
long. Please enter a string with a maximum length of 1.
The problem here is that D8WYS0 is defined on the AS400 as char(1) and the
adaptor picks this up as well.
.
- Follow-Ups:
- Re: BizTalk 2006 Host Adapters for IBM DB2
- From: Wade Wegner
- Re: BizTalk 2006 Host Adapters for IBM DB2
- Prev by Date: Re: Using an External Class Library in BizTalk
- Next by Date: Re: Interview Question
- Previous by thread: Deploy Orchestration in a different project undeploys others Orchestrations
- Next by thread: Re: BizTalk 2006 Host Adapters for IBM DB2
- Index(es):
Relevant Pages
|