Also, when i try to run the samples directory from the ruby-db2-0.4.4, it gives me the below error, as undefined method - createConnection? Any reason???? pl C:\rubyInstall\lib\ruby\site_ruby\1.8>test2 C:/rubyInstall/lib/ruby/site_ruby/1.8/test2.rb:5: undefined method `createConnec tion' for #<DB2::Environment:0x2c8baf0 @handle_type=1, @handle=1> (NoMethodError ) Thank You Dinesh -- Posted via http://www.ruby-forum.com/.