I need to be able to pass SQL statements to the DB2 client interface and read the results as they are generated for furthur evaluation. I have used open2 and open3 before. What I have been unable to do is get the DB2 client environment correctly invoked.
If I were on a unix platform I would use the .profile info to get this interface. However, this is Win2k and I have had NO success getting the environment correctly initialized?!?!?!?!?
I am using the most current version of Active States perl for windows, on Windows 2000, DB2 7.1 enterprise edition.