StrataFrame Forum
Back
Login
Login
Home
»
.NET Forums
»
General .NET Discussion
»
Anyone have any practical experience with an AS400 dataprovider that...
Anyone have any practical experience with an AS400 dataprovider that works.
Post Reply
Like
1
Anyone have any practical experience with an AS400 dataprovider that...
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Keith Chisarik
Keith Chisarik
posted 19 Years Ago
ANSWER
HOT
Topic Details
Share Topic
Group: StrataFrame Users
Posts: 939,
Visits: 40K
Our biggest customer uses an AS400 as their database. The very limited programming I have done for them was years ago using Perl and ODBC. Most of the work we do for them currenty is done in RPG but they are now asking for stuff that is better suited to .NET, specifically ASP.NET, for their customers to view inventory on the web.
I have been looking and have some leads but if someone here has some practical expreience with something that works ( a data provider), I would sure appreciate it.
Keith Chisarik
Sigma Data Systems
Reply
Like
1
Replies
Keith Chisarik
Keith Chisarik
posted 19 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Users
Posts: 939,
Visits: 40K
I have a prototype working for my AS400 data access project, I now want to convert the project to use Strataframe.
How do I take what I have to create the connection....
Dim oConn As OleDb.OleDbConnection
oConn = New OleDb.OleDbConnection("Provider=IBMDA400; Data Source=192.168.42.100; User ID=xxxxxxx; Password=yyyyyyy;")
oConn.Open()
and make it into something like this the framework requires...
'-- Visual Fox Pro
'DataLayer.DataSources.Add(New VfpDataSourceItem("", "myconnectionstring"))
as I dont see a datasource item for OLE.
I realize I cant use the ConnectionManager with OLE.
Thanks.
Keith Chisarik
Sigma Data Systems
Reply
Like
1
StrataFrame Team
S
StrataFrame Team
posted 19 Years Ago
ANSWER
Post Details
Share Post
S
Group: StrataFrame Developers
Posts: 3K,
Visits: 2.5K
I would use either the OleDb* objects or some other ADO.NET provider, like the one from DataDirect (
http://www.datadirect.com/products/net/index.ssp
). Once you have the provider chosen, you will need to create your own DbDataSourceItem, like SqlDataSourceItem. Your best bet is going to be to copy and modify the SqlDataSourceItem class's code file to create your own DbDataSourceItem for DB2. The DbDataSourceItem class creates all of the actual SQL commands from the QueryInfo objects that are supplied by the DataLayer within the business objects. It will take some work, and you will probably want to setup some unit tests to make sure it's all working, but you can use most of what is in the SqlDataSourceItem, because the two are very similar. You can also cut out pieces of the implementation, for example, if you don't want to be able to support stored procedures. The AccessDataSourceItem class uses OleDb* objects, but does not support stored procedures, so it is much smaller than the SqlDataSourceItem or OracleDataSourceItem.
Reply
Like
1
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
Anyone have any practical experience with an AS400 dataprovider that...
Keith Chisarik
-
19 Years Ago
*wishes for self edit privs again*
Also, the best lead I...
Keith Chisarik
-
19 Years Ago
Actually, most of the benefits of the .NET providers written...
StrataFrame Team
-
19 Years Ago
I have a prototype working for my AS400 data access project, I now...
Keith Chisarik
-
19 Years Ago
I would use either the OleDb* objects or some other ADO.NET provider,...
StrataFrame Team
-
19 Years Ago
Write AS400DataSourceItem, check.
Tell me how realistic...
Keith Chisarik
-
19 Years Ago
If all you want do to is create a read only DB2 item, then it will...
StrataFrame Team
-
19 Years Ago
Awesome, you guys are the best.
Keith Chisarik
-
19 Years Ago
Next question....
I got the initial work done so at least...
Keith Chisarik
-
19 Years Ago
I have things cooking in "raw ADO" using the DataDirect provider as...
Keith Chisarik
-
19 Years Ago
I think we're going to have to get a DB2 server setup around here to...
StrataFrame Team
-
19 Years Ago
Thanks Ben, I am going to move ahead with my current need without...
Keith Chisarik
-
19 Years Ago
No problem. We've got an inside contact at IBM that might be able to...
StrataFrame Team
-
19 Years Ago
Finding it tough to give up considering I am finding that the speed of...
Keith Chisarik
-
19 Years Ago
not sure why the first image doesnt show, here it is again.
...
Keith Chisarik
-
19 Years Ago
Just post the images as attachments. I don't know why they aren't...
Trent L. Taylor
-
19 Years Ago
they did 15 minute ago :blink:
Anyhow I used...
Keith Chisarik
-
19 Years Ago
Well, I don't think that your provider is correct. I will have to...
Trent L. Taylor
-
19 Years Ago
DataDIrect had me try DDTek.DB2..........
Keith Chisarik
-
19 Years Ago
Well, that is much closer to a provider name since it is in COM class...
Trent L. Taylor
-
19 Years Ago
When you use the DataDicrect provider in code, do you create an...
StrataFrame Team
-
19 Years Ago
Here is how I tested using their sample code. It worked.
...
Keith Chisarik
-
19 Years Ago
[quote]how do I implement SF with their ADO object? If I cant use the...
Trent L. Taylor
-
19 Years Ago
I think that the IBMDA400 is correct for the OLE DB provider, however,...
StrataFrame Team
-
19 Years Ago
Any luck with this? Getting the BO Mapper to "see" the DB2 "tables"...
Keith Chisarik
-
19 Years Ago
:Whistling:
any word/timetable? Thanks.
Keith Chisarik
-
19 Years Ago
We do not have a timetable on this at the moment. This may end up...
Trent L. Taylor
-
19 Years Ago
Ok thanks, I can take that directly to my "higher up" and get some...
Keith Chisarik
-
19 Years Ago
Post Reply
Like
1
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search