How can I taalk to our AS/400?

Hello,

I can do this in java, but want to use Rails.
How can I connect to our AS/400?

Thanks

Frank

On 12/21/05, Frank removed_email_address@domain.invalid wrote:

Hello,

I can do this in java, but want to use Rails.
How can I connect to our AS/400?

Do you mean with TN5250, or some other kind of protocol, such as
directly to a database?

Frank,

the only way I know of connecting to an AS/400 db is via ODBC with
languages
like PHP or Ruby. unfortunately, there is no generic ODBC adapter for
Rails. You might be able to create an adapter much like the sqlserver
adapter, which utilizes ODBC, i believe.

you CAN get ruby to talk to an AS/400. on linux, you’ll need

IBM iSeries Access driver for linux
unixODBC
Ruby ODBC
Ruby DBI

http://wiki.rubyonrails.com/rails/pages/ODBC
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/153403

ok, I am on Windows.
I just wanted to do simple queries to our AS/400 database.

Frank
----- Original Message -----
From: Chris H.
To: removed_email_address@domain.invalid
Sent: Wednesday, December 21, 2005 1:39 PM
Subject: Re: [Rails] How can I taalk to our AS/400?

Frank,

the only way I know of connecting to an AS/400 db is via ODBC with
languages like PHP or Ruby. unfortunately, there is no generic ODBC
adapter for Rails. You might be able to create an adapter much like the
sqlserver adapter, which utilizes ODBC, i believe.

you CAN get ruby to talk to an AS/400. on linux, you’ll need

IBM iSeries Access driver for linux
unixODBC
Ruby ODBC
Ruby DBI

http://wiki.rubyonrails.com/rails/pages/ODBC
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/153403

On 12/21/05, Frank removed_email_address@domain.invalid wrote:
Hello,

I can do this in java, but want to use Rails.
How can I connect to our AS/400?

Thanks

Frank

_______________________________________________
Rails mailing list
removed_email_address@domain.invalid
http://lists.rubyonrails.org/mailman/listinfo/rails


Rails mailing list
removed_email_address@domain.invalid
http://lists.rubyonrails.org/mailman/listinfo/rails

then you’ll want the iSeries Access for Windows driver…but you’re
still
stuck with the fact there is no generic ODBC adapter for rails