Discussion Locked

ODBC on Windows NT

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I know that this may not be a NT question, but...
I have the MS Access database and a macro inside that connects to a couple of other access databases and then connects to Oracle through ODBC. I have a REXX exec written to execute the macro which runs from the command prompt on the server. I can execute the macro from inside the access database and it runs fine wing both the REXX exec and executing the macro directly. However, when I schedule the REXX exec thru AT, I get an ODBC error, 3151ODBC Connection Error.
The Oracle Client is installed and ODBC is setup correctly. I even checked the path statements and they look right.
Does anyone have any suggestions?

5 replies

by allan

Using the AT command tries to run the REXX exec happens when no-one is logged in.
Maybe you need to create an account for the "System" or try just locking the machine instead of logging off.

by ronnonf

Test your ODBC DSN using ODBCping. This utility allows you to insert a DSN along with user acount and password and verifies that it was configured properly.

This discussion is closed to new replies.