Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Using dbtran to view log

Hello, I am having a very confusing time working with dbtran. I want to use it just to view contents of the current server log, and I can't get it to work.

This is what I'm trying:

dbtran -c "uid=XXX;pwd=XXX;DSN=IQ_server;eng=IQ_server;dbn=IQ_server" -n log_output.txt

I get SQL Anywhere Log TranslationUtility Version and the prompt comes back instantly. No file is created. 

Why is it not working?


Former Member

Try without DSN.

If the IQ server is in local machine:

dbisql -c "uid=XXX;pwd=XXX;eng=IQ_server_name" -nogui

If the IQ server is in remote machine, specify its hostname and port number:

dbisql -c "uid=XXX;pwd=XXX;eng=IQ_server_name;links=tcpip{host=<hostname>;port=<port#>}" -nogui

In OS console execute utility below to list servers running and broadcasting in same network:

dblocate -d

0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question