in reply to Re: CGI-DBI Connectivity and Output
in thread CGI-DBI Connectivity and Output

Thanks for your suggestion guys.The problem has been resolved.When i saw the error log then i saw that i had not used MS.VOTE in my query. Due to that call to DB2 was failing .
But i want to ask one more query here that why there was problem with browser and not with command prompt.

Replies are listed 'Best First'.
Re^3: CGI-DBI Connectivity and Output
by Cubes (Pilgrim) on Nov 24, 2007 at 19:13 UTC
    Hard to say without more information.

    My first guess would be that you have some database-related variables set in your environment that are used when you're running it from the command line, but your web server / CGI environment is different.