I will strongly advice to go from DB2 9.5 to 10.X and not to DB2 9.7, because DB2 V9.7 is not supported anymore, so it doesn't make sense to upgrade to this version anymore, at least not in your case.
Except if you have a very strong reason to do that.