On 19-Dec-2014 11:07 -0600, Matt Olson wrote:
Is there a way to check for uncommitted DB2 SQL transactions that are
Work With Commitment Definitions (WRKCMTDFN) using the *ALL option
for the Job (JOB) parameter is often helpful in that regard.
I suspect there might be a database insert that is just sitting there
and hasn't been committed.
Unfortunately I have no way of finding this job, so I'm wondering
what commands would help me find it.
But a file is a known? A state of vague awareness\supposition about
pending transactions, without something specific [like a specific file
name] seems so amorphous. Display Record Locks (DSPRCDLCK) would show
any pending inserts as locked record for the member of the database
file. Reviewing the journal entries (DSPJRN) of the database file
member can also help find such a job.
FWiW, a doc link:
_Finding large or old transactions_
"Use the Work with Commitment Definitions (WRKCMTDFN) command to find
large or old transactions.
To find large or old transactions follow these steps:
1. Type WRKCMTDFN JOB(*ALL) OUTPUT(*PRINT) from the character-based
This information is also shown when using either System i® Navigator or
IBM® Navigator for i to display transactions, but it is easier to find
large or old transactions by searching the single spool file produced by
the WRKCMTDFN command, rather than having to display the properties and
resource status for each transaction.