http://publib.boulder.ibm.com/infocente ... ql0901.htm
says this:
"For iSeries Access ODBC: Server machine (function) check error
Probable cause:
Another, previously reported error has prevented the processing of a SQL statement. The previous error is logged only in the i5/OS™ job log and is not returned to the ODBC application. You must locate and retrieve the job log to identify and resolve the problem.
To find the job log, open a PC5250 emulation session and issue a WRKSPLF where user is the iSeries user profile used on the ODBC connection. However, in some cases the joblog is found using WRKSPLF QUSER. For example, it is necessary to use WRKSPLF QUSER to find the associated joblog when the prestart jobs fail to start."
So let us know what that log says...