Determining If a File or Directory is Locked

There will be times while using CMS commands when you may receive a message stating that the file or directory you want to work with is locked. You will need to find out who created the lock, so that you can get that person to delete or change the lock and allow you to read or write to the file. The next sections show you how to find explicit or implicit locks on files and directories.