|
date: Thu, 17 Mar 2016 11:32:03 +0000
from: Keith McCully <keithmccully@xxxxxxxxx>
subject: Re: [Bulk] RE: Check out and Check in IFS files - Means what?
I use CHKOUT/CHKIN when I want to protect an IFS stream file from updates
with a "short term" lock, say for the lifetime of a particular job or
process. It's the IFS equivalent of ALCOBJ with lock type exclusive allow
read (*EXCLRD).
So typically CHKOUT a file (or directory) at the start of a background job,
do some processing and then CHKIN towards the end of the job. Error
handling should cater for the job to fail with files checked out at point
of failure, so preventing the need for a number of manual CHKINs.
The problem with CHKOUT is that AFIK, there is no straightforward way to
get a list which IFS files are currently checked out?
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.