×
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.
I'd like to be able to create a python3 script that runs locally on an
IBMi, reads a DB2 table and writes an .xlsx spreadsheet to the IFS.
I've got python3 installed via 5733-OPS option 2, and used pip3 to set up
ibm_db and xlsxwriter.
Can anyone point me to a decent example that connects to the local IBMi DB2
using ibm_db_dbi, and iterates over the result set? Looking for help
mapping the connect method parameters.
John Yueng provided a nice example for iSeriesPython on his blog, but that
uses db2 rather than ibm_db
http://iseriespython.blogspot.ca/2013/05/copy-physical-file-to-excel-in-9-lines.html
.
As an Amazon Associate we earn from qualifying purchases.
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.