I have a python program that calls a stored procedure from db2 database. I am using results = cursor.fetchall() to process the results of my stored procedure. H
results = cursor.fetchall()
Just a small simplification for the record:
while True: rows = cursor.fetchall() # process all result sets in the same place if not cursor.nextset(): break