My iSeries ILE program crashed with uncommitted changes. Now I wish to end commitment control (to start program again, program starts commitment control itself) with ENDCMTCTL, but it fails with message:
CPF8355 - ENDCMTCTL not allowed. Pending changes active
Is there a way to rollback/commit changes and end commitment control proper way? My more experienced colleagues suggest only to sign out and start new session.
Edit
I have tried WRKCMTDFN and all actions in it with no success. Force rollback and Force commit failed with message:
CPD83ED -Commitment definition not eligible for forced rollback ...
... 2 -- The logical unit of work, for this commitment definition, is not in
an undecided state.