Hello all,
               On one my   program , I am trying to   Purge  records and  do a
Reorganize on  that  Physical file.   Before doing the purge,  I would  want
check for the file lock and if it is locked then I want  to  display  the  user
that  who is locking the file  and ask the user to try later.

                 Could anyone please help on how to accomplise this.

  Thanks in advance


Regards
Raj







Joe Giusto <JGiusto@patuxent.com> on 09-20-99 11:57:07 AM

Please respond to MIDRANGE-L@midrange.com

To:   "'midrange-l@midrange.com'" <midrange-l@midrange.com>,
      "'RPG400-L@midrange.com'" <RPG400-L@midrange.com>
cc:    (bcc: Rajan Srinivasan/Servicing/SuperiorBank)
Subject:  Source for Displaying Job that has record lock




Call from interactive program to display to the user what job has the record
lock.
Use after chain bombs with error status 1218.
Screen and CL source attached.


 <<dsprcdlck.txt>>

Joe Giusto II
Patuxent Publishing Company
 <mailto:jgiusto@patuxent.com> mailto:JGiusto@patuxent.com
http://www.lifegoeson.com <http://lifegoeson.com>
Feed a hungry person for free!
http://www.thehungersite.com <http://www.thehungersite.com>

Text - character set unknown


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.