Operating System - HP-UX
1825771 Members
2159 Online
109687 Solutions
New Discussion

DBD-DB2 and Memory Windows (db2win) connect problems

 
SOLVED
Go to solution
Craig A. Sharp
Super Advisor

DBD-DB2 and Memory Windows (db2win) connect problems

Our DB2 instance runs in Memory Windows on HP-UX 11.00.

Is there a way to connect to the instance in mem windows with DBD-DB2? I am not able to connect as the DBI connect string:

$dbh = DBI->connect("DBI:DB2:isdev");

The database errors on the connect.

Thanks,

Craig
3 REPLIES 3
Steven Gillard_2
Honored Contributor
Solution

Re: DBD-DB2 and Memory Windows (db2win) connect problems

You need to run the script with the setmemwindow(1m) command, eg:

$ setmemwindow -i <script>

Regards,
Steve
Craig A. Sharp
Super Advisor

Re: DBD-DB2 and Memory Windows (db2win) connect problems

That worked! Thanks for the reply!

Craig
T. M. Louah
Esteemed Contributor

Re: DBD-DB2 and Memory Windows (db2win) connect problems

Please find in Knowledge base doc id #
UIPCKBRC00008210
"Sharing data between applications in different memory windows"

Cheers,
T??
Little learning is dangerous!