RE: How to find wich program lock file record
Dan Bale via RPG400-L <[email protected]> Thu, 2 Apr 2026 04:51:34 +0000
| Newsgroups | gmane.comp.lang.as400.rpg |
|---|---|
| Message-ID | <DM4PR15MB610608DC80C23500818737F79E51A@DM4PR15MB6106.namprd15.prod.outlook.com> |
Display Record Locks (DSPRCDLCK) command. I'm not at a green screen, so I don't know if this shows the program that has a lock on the record. Also not sure how commitment control affects this. - Dan Bale -----Original Message----- From: RPG400-L <rpg400-l-bounces-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org> On Behalf Of gio.cot via RPG400-L Sent: Wednesday, April 1, 2026 4:39 PM To: 'RPG programming on IBM i' <[email protected]> Cc: gio.cot <[email protected]> Subject: 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 *** CONFIDENTIALITY NOTICE: The information contained in this communication may be confidential, and is intended only for the use of the recipients named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please return it to the sender immediately and delete the original message and any copy of it from your computer system. If you have any questions concerning this message, please contact the sender. *** -- This is the RPG programming on IBM i (RPG400-L) mailing list To post a message email: [email protected] To subscribe, unsubscribe, or change list options, visit: https://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org Before posting, please take a moment to review the archives at https://archive.midrange.com/rpg400-l. Please contact support-FMtJrHiV//lnDLsaKlm4mFaTQe2KTcn/@public.gmane.org for any subscription related questions.