Thanks for your reply Nick!
I believe I have found a way around this through some research on the Internet. The query I'm executing is a simple SELECT * query so it shouldn't be a function of computed values. In any case, in order to obtain the column names, one could try:
SELECT TABNAME, TABSCHEMA, COLNAME, COLNO
FROM SYSCAT.COLUMNS
WHERE TABNAME IN ('tablename') AND TABSCHEMA IN ('schema')
ORDER BY COLNO ASC
Hope this helps!
