I wish to put a number of .db2 scripts in my makefile. However,
some of the db2 scripts tries to revoke privileges from users that
might do not have that privilege already, thus returns an error to
the
shell. I do not want the makefile to stop there, but simply ignore the
errors.
For example, I have the following in my makefile
run:
db2 -td@ script1.db2
db2 -td@ script2.db2
suppose one of the commands in script1.db2 fails (but does not
create a problem at all, like trying to drop a table that does not
exist),
the makefile will not proceed to the second script file.
How do i revise the commands so the makefile will run the second
script even if some of the commands in the first script fails?