Hi,
i have a DOS .cmd file with calling the db2 command window like this:
"db2cmd -c -i -w db2 connect to test user will using smith"
I thought a fail of this connect would return me some errorlevel being not 0, which i can react on.
But, this doesn't happen. It is always 0.
Does anybody know How to catch an error in this scenario????
Thanks