|
Christian, In a message dated 4/30/99 2:01:18 AM Eastern Daylight Time, chluebke@gmx.de writes: > is it possible to lock more than one record in a file? > > I need an indicator that these records are in use and can't be used by > another job. But I do > not want to write some data in that file to indicate this because if my > program fails they > are locked forever... You _could_ open the file under commitment control, update the desired records, and then perform a ROLBK when you want to free them up. Only problem is that, if the program crashes, the records will be COMITed automatically... HTH, Dean Asmussen Enterprise Systems Consulting, Inc. Fuquay-Varina, NC USA E-mail: DAsmussen@aol.com "The future has a way of arriving unannounced." -- George F. WIll * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This is the RPG/400 Discussion Mailing List! To submit a new * * message, send your mail to "RPG400-L@midrange.com". To unsubscribe * * from this list send email to MAJORDOMO@midrange.com and specify * * 'unsubscribe RPG400-L' in the body of your message. Questions should * * be directed to the list owner / operator: david@midrange.com * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.