|
I am having difficultly with what I thought would be a simple thing to do.
When a user tries to update a record that is locked by another job, I want
to tell the user not only that the record is locked but who has the record
locked. I am trying to use the the API QDBRRCDL since it would return all
the info I would need.
I can get the Library/File/Member name from the INFDS but the all alusive
relative record number I don't have because I didn't have a successful
file operation. The RRN comes back as a big fat ZERO.
I could do a CHAIN(N) right after my error to get the proper RRN but that
seems very cumbersome and expensive. I also could leave the RRN at ZERO
and it would send all the records that a have a lock. That again would
seem cumbersome and expensive to figure out which one I really want.
Am I missing something???? Is there another API?
Daniel
I Cor 15:57
----------------------------------------------------------------------
Protect your PC - Click here for McAfee.com VirusScan Online
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.