please advise what went wrong in my codes:
im trying to connect to odbc and retrieve data but i failed
conn = po.connect(
DRIVER='{iSeries Access ODBC Driver}',
SYSTEM = AS400,
DBQ = DBQ,
DFTPKGLIB= 'QGPL',
LANGUAGEID='ENU',
PKG = 'QGPL/DEFAULT(IBM)',
UID=UID,
PWD=PWD)
cursor = conn.cursor()
cursor.execute("SELECT mmnmbtp.FXCLN FROM mmnmbtp")
for row in cursor.fetchall():
print row
I am getting the below error:
File "<ipython-input-17-c2fd1d8f7233>", line 52
print row
^
SyntaxError: Missing parentheses in call to 'print'