If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
I have a .bat file that issues a db2 backup command in the scheduled tasks. when it runs, it finishes with rc=8 and the db is not backed up. where can i see the errors?
Error messages go to the standard output stream. You can redirect it to a file in you batch and look at the SQL error code. There also may be something in the db2diag.log file.
Does the batch file run OK if you invoke it from the command line?