This is an intentional change in DB2 9.7. Refer to articles:
DB2 9.7 added a cur_commit database configuration setting. By default, for new databases, cur_commit is "ON", which is described as follows in the 2nd article above:
"Under the new currently committed semantics, only committed data is returned, as was the case previously, but now readers do not wait for writers to release row locks. Instead, readers return data that is based on the currently committed version; that is, data prior to the start of the write operation."
This change affected the expected outcome of a deadlock test, which need to enhance adapting to this behavior change.