This query will work in the query analyzer, but not it the DTS package:
I receive this error --
Error Source: Microsoft OLE DB Provider for ODBC Drivers
Error Desc: {IBM][Client Access Express ODBC Driver (32-bit)][DB2/400 SQL]SQL0204 - GETDATE in *LIBL type *N not found.
I am trying to hit the AS400 and pull information down that pertains to the current date, (or date -1). I think I've got it all correct, but it keeps erring on GETDATE. If I replace GETDATE with a static date, then it tells me that my 'convert' and 'varchar' aren't recognized.
Any guidance would be greatly appreciated.
Thanks,
TIMO
I receive this error --
Error Source: Microsoft OLE DB Provider for ODBC Drivers
Error Desc: {IBM][Client Access Express ODBC Driver (32-bit)][DB2/400 SQL]SQL0204 - GETDATE in *LIBL type *N not found.
I am trying to hit the AS400 and pull information down that pertains to the current date, (or date -1). I think I've got it all correct, but it keeps erring on GETDATE. If I replace GETDATE with a static date, then it tells me that my 'convert' and 'varchar' aren't recognized.
Any guidance would be greatly appreciated.
Thanks,
TIMO