Topic
  • 1 reply
  • Latest Post - ‏2013-01-05T08:43:13Z by SystemAdmin
Manoj_1
Manoj_1
1 Post

Pinned topic Accessing DB2 in zos using javascript

‏2012-11-16T12:05:06Z |
I am using javascript to fetch data from DB2 on zos. But am getting as follows,

Webpage error details
Message: MicrosoftODBC Driver Manager Data source name not found and no default driver specified

the conenction string am using is

strConn="Driver={IBM DB2 ODBC DRIVER};Database=XXXX;Hostname=xxx;Port=xxx;Protocol=TCPIP;Uid=xxx;Pwd=yyy;";

I have also tried to use Java applet to fetch the data, it is also not working and I could not figure out what problem is as there is no exception or log data.

Has anyone tried to fetch data from DB2(or other data bases in zos) using javascript, kindly help us.
Updated on 2013-01-05T08:43:13Z at 2013-01-05T08:43:13Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    3105 Posts

    Re: Accessing DB2 in zos using javascript

    ‏2013-01-05T08:43:13Z  
    this looks like a configuration issue.
    make sure you can get the odbc connection working before you try to use in the javascript
    sounds like you need to configure the ODBC data source
    which OS is your server running?: