5 pts.
 apply exclusive locks
How to apply exclusive lock with no read on a physical file?

Software/Hardware used:
ASKED: January 24, 2008  5:17 AM
UPDATED: January 24, 2008  12:14 PM

Answer Wiki:
ALCOBJ OBJ((LIB/FILE *FILE *EXCL *FIRST)) ? As this question is under RPGILE, you could issue this command from the RPG application using APIs such as QCMDEXC, QCAPCMD, etc. This will give you an exclusive lock on the data of the *first member in file FILE of library LIB. Bruce Vining <a href="http://www.brucevining.com/">http://www.brucevining.com/</a>
Last Wiki Answer Submitted:  January 24, 2008  12:14 pm  by  bvining   6,055 pts.
All Answer Wiki Contributors:  bvining   6,055 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _