|
Try: http://archive.midrange.com/rpg400-l/199909/msg00334.html HTH Marco --- Daniel Keith <keithscc@xxxxxxxxxxx> wrote: > 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 > _______________________________________________ > This is the RPG programming on the AS400 / iSeries > (RPG400-L) mailing list > To post a message email: RPG400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: > http://lists.midrange.com/mailman/listinfo/rpg400-l > or email: RPG400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the > archives > at http://archive.midrange.com/rpg400-l. > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.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.