× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



​John corrected me where I was confused. Thanks to both for responding.​

Aaron Bartell
litmis.com - Services for open source on IBM i


On Mon, Aug 1, 2016 at 2:02 PM, Kevin Adler <kadler@xxxxxxxxxx> wrote:

Nope, here's what worked previously:

http://archive.midrange.com/opensource/201606/msg00066.html

Maybe you're thinking of the iSeriesPython db2 package, which did:
http://archive.midrange.com/opensource/201607/msg00045.html

"OpenSource" <opensource-bounces@xxxxxxxxxxxx> wrote on 08/01/2016
10:45:04 AM:

From: Aaron Bartell <aaronbartell@xxxxxxxxx>
To: IBMi Open Source Roundtable <opensource@xxxxxxxxxxxx>
Date: 08/01/2016 10:45 AM
Subject: Re: [IBMiOSS] Python ibm_db updates
Sent by: "OpenSource" <opensource-bounces@xxxxxxxxxxxx>

Easiest way to connect to the database with Python by far. Connects to
the
*LOCAL database using currently running user profile.

I thought this already worked in PTFs currently available?

Aaron Bartell
litmis.com - Services for open source on IBM i


On Fri, Jul 29, 2016 at 1:17 PM, Kevin Adler <kadler@xxxxxxxxxx> wrote:

Well, you guys asked for it and you got it:

kadler@wernstrom:~>python3
Python 3.4.4 (default, Mar 23 2016, 11:07:11)
[GCC 4.8.4] on aix6
Type "help", "copyright", "credits" or "license" for more information.
import ibm_db_dbi

ibm_db_dbi.connect()
<ibm_db_dbi.Connection object at 0x3018480c>

ibm_db_dbi.pconnect()
<ibm_db_dbi.Connection object at 0x30248f2c>

Easiest way to connect to the database with Python by far. Connects to
the
*LOCAL database using currently running user profile.


PTFs are coming your way soon (should be available externally within a
few
days):

SI61963 (Python 3)
SI61964 (Python 2)

These PTFs also correct issues when retrieving data from timestamp
columns
on IBM i 7.2+ that do not have 6 digits of precision (doesn't matter
if
it's more or fewer digits, just that it's not 6) and ibm_db version
updated to 2.0.5.5.

--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/opensource.

--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/opensource.



--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/opensource.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.