Good News Everybody!
The new search engine is LIVE!
Please report any problems to david (at) midrange.com.
|
From: John Yeung <gallium.arsenide@xxxxxxxxx>SNIP
To: IBMi Open Source Roundtable <opensource@xxxxxxxxxxxx>
Date: 07/07/2016 12:15 PM
Subject: Re: [IBMiOSS] IBM i python ibm_db_dbi example usage
Sent by: "OpenSource" <opensource-bounces@xxxxxxxxxxxx>
complicated:
The ibm_db_dbi that comes with iSeriesPython is not much more
connection = ibm_db_dbi.connect('*LOCAL')
While it's not needed, you could also use the same parameter for db2:
connection = db2.connect('*LOCAL')
But IBM's Python for PASE is not quite so simple. At least, I have not
yet been able to figure out the magic incantation to connect.
Hopefully Aaron or Kevin can chime in here.
This mailing list archive is Copyright 1997-2026 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.