Error loading USE or USELSX module: *lsxodbc

I am using ODBC connection to pull some data from AS400 (via agent). If I schedule this agent it gives me the follofing error message:Error loading USE or USELSX module: *lsxodbc

But it works if I put it under the button.

Thank you,

-vadim

Subject: Vadim, Are you putting the code…

under the button, or are you calling the agent under the button?

Please clarify.

Marcus

Subject: Error loading USE or USELSX module: *lsxodbc

What’s your code? Have you included this line under Options?:

Uselsx “*LSXODBC”

Subject: RE: Error loading USE or USELSX module: *lsxodbc

Thank you for your e-mail.

Yes, I included this line under Options.