|
Home > Archive > SQL Anywhere database > June 2005 > error CODE
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Bassem M. 2005-06-23, 1:23 pm |
| Hi,
ASA 8.0.2
In using dbvalid or dbbackup, It's possible to log the error CODE in a log
file ???
thanks for responding
| |
| Bassem M. 2005-06-23, 8:23 pm |
| I have another question :
The messages/errors which turn over the utilities of database
administrations can be in another language that English.
I installed ASA 8.0.2 in French, and the turned over messages are in
English....
thanks
> ASA 8.0.2
>
> In using dbvalid or dbbackup, It's possible to log the error CODE in a
> log file ???
| |
| Greg Fenton 2005-06-24, 9:23 am |
| Bassem M. wrote:
>
> In using dbvalid or dbbackup, It's possible to log the error CODE in a log
> file ???
>
You can log the output from the tools using the "-o <file>" switch. If
you are looking for the exit code, you'd need to capture that from the
calling environment. For example, from a .CMD script file:
dbvalid -c "..." -o c:/validate_output.txt ...
echo DBValid exited with [%ERRORLEVEL%] >> c:/validate_output.txt
If you are looking for another scripting environment (BASH, Kornshell,
perl, etc...) post back and let us know the specifics (version, OS, etc...)
Hope this helps,
greg.fenton
--
Greg Fenton
Consultant, Solution Services, iAnywhere Solutions
--------
Visit the iAnywhere Solutions Developer Community
Whitepapers, TechDocs, Downloads
http://www.ianywhere.com/developer/
| |
| Stephen Rice 2005-06-27, 8:23 pm |
| Bassem M. wrote:
> I have another question :
>
> The messages/errors which turn over the utilities of database
> administrations can be in another language that English.
> I installed ASA 8.0.2 in French, and the turned over messages are in
> English....
>
> thanks
>
>
>
>
>
AFAIK all of the error message text is translated and in your
dblgfr8.dll file. If you set the environment variable ASLANG=FR it
should work.
I don't have a copy of the v8 docs handy but I believe there is an
equivalent to the v9 doc section:
ASA Database Administration Guide
International Languages and Character Sets
Understanding locales
where all of the details of local language setup are discussed
HTH
/steve
--
Stephen Rice
Technical Services Manager
iAnywhere Solutions
--- Please Post ---
Whitepapers, Tech Docs, Solved Cases, Bug Fixes and
"Report a bug" are all available on www.ianywhere.com
|
|
|
|
|