CL control program
Starts commitment control
STRCMTCTL LCKLVL(*CHG) CMTSCOPE(*JOB)
Calls a complex sequence of RPGLE programs
A rather complicated series of RPGLE programs:
open files for update
sometimes update records
sometimes call other programs
sometimes close files
Sometimes issue *INLR = On
Is there any way that a record would remain locked after the commit?
Perhaps it was read for update and the file wasn’t closed and the *INLR wasn’t set on for that program.
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!