Please enable JavaScript to view this site.

A-Shell Reference

Reviewed July 2020

LOKUTL

Unix only. When LOKSER-type file locking is on (see the system parameter LOKSER for more information), A-Shell translates LOKSER service requests into the corresponding system locking function supported by the host operating system. Under Windows (non-server versions), there is no convenient function to display a list of the current file locks. However, under some flavors of Unix (including AIX and Linux), a shareware utility, lslk, is available which scans the system locking tables and produces a list of locks. For those flavors of Unix, the corresponding copy of lslk is distributed with A-Shell (or can be obtained from the web). This utility by itself is not that helpful, though, as the information displayed is in terms of inodes rather than files, and process ids rather than jobnames. The LOKUTL utility acts as a front end to lslk and is able to output a much more interesting display.  

Windows Server editions contain a mechanism to display files open and locks held by workstations, but the feature is not accessible from within A-Shell.