Skip to main content

ibm Iseries AS/400 DB2

Databases • Asked by Manuel Martinez
I'm trying to connect using some of the gems:
sequel, dbi, ibm_db, jdbc-as400-adapter

Without success, does anyone have the same problem?

What is "without success"? What did you try? Which errors do you see? And more info? OS? Rails/ruby version?

using the gem ibm_db, I can not verify that everything is configured correctly.
using mac ox , ubuntu 16.04,  rails 5.2.0 , ruby 2.5 


ruby-2.5.0/gems/bootsnap-1.3.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:62:in `load': /Users/Manux/.rvm/gems/ruby-2.5.0/gems/jdbc-jt400-9.1.1/lib/jt400.jar:1: Invalid char `\x03' in expression (SyntaxError)

I am proposing a new approach to the problem
use js to connect to the db2 database

any suggestion is welcome .... 

in the end we have developed an api in node js to which we call using the gem httparty

thx


Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 24,647+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.