Meandyou
1840 pts. | Sep 30 2009 7:00PM GMT
While this is not an direct answer to the question, I will point out that I recently encountered a general (or generic) ODBC error from MS Access trying to query a DB2 for z/OS table. It turned out to be that MS Access could not handle a table with a data type of ROWID. I mention this only to point out that ODBC errors are not always what they appear to be.
Steve
Carlosdl
29820 pts. | Sep 30 2009 11:35PM GMT
Are you able to successfully execute other SQL commands ?
I don’t think the command is too long, but if it was, you could use shorter table aliases and use those aliases to qualify columns, to shorten it a little.
Also, have you tried the same command, but using fixed values instead of the tday and yday variables ?






