ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

How to find wich program lock file record

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to find wich program lock file record

    Hi all
    In a job, sometimes I have a problem with a record that remain locked and so i get CPF5032 "Record already locked to this job ;
    how i could find the program that take locked the record ??
    Keep in mimd that this file is under commitment control ..
    Thank in advance


  • #2
    Hi,
    Take a look into the View QSYS2.RECORD_LOCK_INFO
    The RECORD_LOCK_INFO view returns one row for every record lock for the partition.

    Comment

    Working...
    X