Dear Walter, On 15 Mar 2005 20:00:38 -0000, PerlDiscuss - Perl Newsgroups and mailing lists <[EMAIL PROTECTED]> wrote: > Hi all who help others, > > i would like to create a database handle to informix > database on alpha maschine. > what do i have: > > # uname -a > OSF1 trm61 V4.0 878 alpha > # /usr/informix/bin/tbstat -z > > RSAM Version 5.08.UD2 -- On-Line -- Up 07:53:56 -- 9968 Kbytes > > # > > i wrote a perl-script which works fine on the host > itself, but when i try to connect through the network it doesnÅt > work. > i really tried out figure that out in cpan and other locations, > but i was not able to get the right information. > > i am running activstate perl version 5.8.0 on windows 2000 sp4. > > any ideas ?
This is a fundamental Informix connectivity problem, rather than a Perl problem per se. There are likely to be a variety of possible solutions - partially dependent on what have available - on the Alpha and on the Windows machines. Option 1: With ClientSDK and DBI + DBD::Informix on the Windows machine. You can use Informix I-Star on the server - run $INFORMIXDIR/lib/sqlexecd on the Alpha to listen to database connections - and then connect to OnLine that way. Option 2: Run DBI::Proxy server on the Alpha machine, and have it connect to the database. The second option is likely the easier for you - I-Star was an extra, separately purchasable product with OnLine 5.08 (which is (a) not officially Y2K-compliant and (b) should really be replaced by OnLine 5.20, not least because it includes I-Star). It also avoids the issues of building DBD::Informix on Windows. -- Jonathan Leffler <[EMAIL PROTECTED]> #include <disclaimer.h> Guardian of DBD::Informix - v2005.01 - http://dbi.perl.org "I don't suffer from insanity - I enjoy every minute of it."
