Hai Travis Gibson ! Thanks for yr instant reply. One more thing I wanted to clear. 1 Where do I get "COM.ibm.db2.jdbc.app.DB2Driver" this driver ? and Weather it has to be downlaoded or we have to set calsspath. I searched thru IBM Site, but I could not get either downloads or any JAR files. Please Let me Know . I am total zero in DB2 Mainframe side. My Mainframe Pc Host is in Denmark. I am in India. I wanted to connect the DB2, and generate some reports,is it possible. 2. I wanted to connect remote DB2. In that case How do I know the Machine name, Port Number, database Name in the Mainframe Pc. 3.I wanted to put my application into the Webserver, Servlet.So that n number of clients can view the report. Is it Possible ? yes or No ? If yes Do I need any Middlewares, if so Let me know ? I hope that I have explained my requirements Clearly ! Thanks in Advance !
Originally posted by Travis Gibson: Here is sample code for connection to a Sample 390/DB2 (Employer) database: