This doesn't specify a member, but it appears to put an *EXCL lock on
only the first member.
WRKOBJLCK OBJ(QCLSRC) OBJTYPE(*FILE) shows just a *SHRRD lock, even
though I asked for *EXCL:
Job User Lock Status Scope
QPAD155152 LENNONS *SHRRD HELD *JOB
WRKOBJLCK OBJ(QCLSRC) OBJTYPE(*FILE) MBR(*ALL) shows an *EXCL member
lock on the first member:
Member Job User Type Lock Status
CRPGDEBUG QPAD155152 LENNONS MBR *SHRRD HELD
DATA *EXCL HELD
But I can still update other member, e.g., through PDM/SEU.
Is there a way to lock all members in a file with ALCOBJ? (Without
looping through all members and doing It individually that is.)
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2026 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.