On Thu, Jul 16, 2009 at 04:03:23PM +0200, Jaap van Arragon wrote:
> SERVER:~# awk -W version
> mawk 1.3.3 Nov 1996, Copyright (C) Michael D. Brennan
>
> compiled limits:
> max NF 32767
> sprintf buffer 1020
>
> What can I do? Everything seems to be right but it and working....;-(
Hi Jaap,
Well, from my perspective there are two problems: A) osql is broken (because mawk is), and B) your ODBC setup isn't working.
Regarding (B), let's follow Frediano's suggestion:
$ TDSDUMPCONFIG=stderr TDSDUMP=stderr \
isql -v svr usr pwd
Let's see what that reports. I still think your DM is reading an odbc.ini other than the one you're modifying.
Regarding (A), let's try Steve's suggestion. In the osql script, find the only line that uses awk with that form of regular expression:
awk -F '[[:space:]]*=[[:space:]]*' '{print $2}')
replace it with
awk -F '=' '{print $2}' | sed 's/[[:space:]][[:space:]]*//g')
I committed revision 1.11 with that change. You can download it from CVS.
One of those two things should tell us something.
Regards,
--jkl
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.