Connecting to DB2 database with python - python-3.x

I am trying to connect to a DB2 mainframe from my machine through Jupyter Notebooks.
I am on a 32-bit machine Windows 7 machine.
I am using Python version 3.6.1
Did a bit of research and from what i could find online there are two ways to do this....
Packages:
pyodbc,
ibm_db
I think i read in another post that the official way to do it is using ibm_db.
I tried a couple of times with pyodbc but couldn't get it to work.
So i figured i would try ibm_db.
I tried install ibm_db using pip and easy_install but i keep getting the following messages.
Could someone please provide some guidance?
Also, my ODBC Data Source Adminstrator Window, system DSN tab looks as follows
I was trying to use the pyMainframe DSN but couldnt get that to work either.
As you can see i do have an iSeries Access ODBC driver installed. Not sure if python can use this.
I am a bit of a noob. Thanks in advance. Please let me know if you need any additional information

The issue is that i was using python 3.6.1
For python 3 the only version supported is 3.4.0.
No other version of 3.4 is supported, not sure about < 3.4
Thanks all for your help.
Here is where i found the answer. + a little trial and error.
https://groups.google.com/forum/#!topic/ibm_db/6-sOpk4zkCU

You're not connecting to a mainframe (z/OS) you're connecting to a midrange system (IBM i aka iSeries/AS-400) completely different machines and OS.
Using ibm_db requires the IBM DB2 connect product ($$$) to connect to IBM i.
You're going to want to use just an ODBC connection via pyodbc(?).

Related

Installing MongoDB compass this may take a few minutes

It has been half an hour and it is still stuck at the same progress. My machine is Windows 7 and I have downloaded the Community Server 2008 R2 64-bit and later. Sreenshot
Does anyone know why? Do I really need Compass if I were to use it with Node.js?
I'm new to MongoDB and node.js
Please help. Thanks in advance
As for January 2021, I've faced this issue with version 4.4.3. Press cancel on the installation won't help, and need to close the PowerShell process.
Then, Re-install without the compass, and after successful installation, install manually only the compass itself.
Compass is a GUI client which can be used to manages collections, documents etc.
To do development in Node.JS (or any other programming language) you do not need Compass as it is a GUI tool which is a mongo client.
You can use mongo CLI client(Recommended). If you really need GUI tool, you can try Robo 3T.
Only MongoDB server + any client is needed for most web development. Any client can be used to configure it, like CLI or Robo 3T or compass.
Although, you even don't need local installation of mongoDB server. You can use a cloud database like MongoDB Atlas. It has all tools inbuilt as is very powerful. However I would still recommend doing a local installation of mongo server to avoid dependency of network while testing your app.
Please refer to the following link.
https://checkinnuggets.wordpress.com/2018/01/14/installation-update-of-mongodb-3-6-2-on-windows-hangs/
Instead of choosing Complete Installation, choose "Custom" instead, then at the last step, uncheck 'Install MongoDB Compass'. This will complete the installation.
Downloading/installing version 4.0.14 worked for me.

how to download and install teradata on windows 10

Can any one help me install "Teradata" on Windows 10. A step by step guide will be much helpful.
I tried this in Google but didnt get any useful link.
You can't "install" Teradata on Windows, there's no more Windows version since TD14.
There's only a VM running TD on Suse Enterprise Linux in different flavours found on the Teradata Download site (The user guide is a bit outdated, but still valid), for VMWare Player, VMware vSphere and the new trial on AWS.
.

Access database informix using Node.JS

I see this question 2 years ago but any kind of solution How to install informix on node.js?.
I'm trying to access informix using nodejs in a Windows enviroment, I try some npm packages but didnt have a good result and others need to be only on Linux.
Thanks for any suggestion, btw need to be in Windows becouse the server.
Here is the Informix Native Node.JS driver URL
https://www.npmjs.com/package/ifx_db

How to get started (Build) Presto on Windows

I see clear requirements that for building presto you need Mac OS/Linux.
https://github.com/prestodb/presto
I also see there are issues which are being discussed on getting windows support for Presto's build
https://github.com/prestodb/presto/issues/2351
What I don't see is a proper documentation of how to get started or a way around to get started with windows.
I found this link http://wheresthedocs.blogspot.com/
but I am not sure is it going to help me in getting started with presto.
If anyone has done it please provide with some basic instructions that would be very helpful!
Presto does not currently support building or running on Windows. There is a community member slowly working on getting this to work, but it is not something Facebook is working on.
In the mean time, I suggest you use Vagrant or VirtualBox to run virtualized Linux on your Windows machine.
Someone at Microsoft got this working on Azure last year with a few tweaks. http://blogs.msdn.com/b/mostlytrue/archive/2014/08/12/more-blue-coffee-presto-on-azure.aspx

Oracle CEP on Oracle Linux

I went to run my application on Eclipse IDE 3.7 using an Oracle Complex event processing server 11.1, it works with Windows 7 and Ubuntu 11.10, the problem is that it doesn't work Oracle Lunix 6. I am not familiar with this OS, I need your help please to find a solution for this problem. Thanks a lot.
Tarek.

Resources