Unlocking Files and Directories
Now that you are finished working with the PHOTO TIPS file, you can free the lock. You locked the file with a SESSION lock. Therefore, you can free the lock by logging off (because a SESSION lock only lasts the duration of your CMS session). Or, you could use the DELETE LOCK command.
To delete a lock on a file, use this format:
DELete LOCk filename filetype dirid
To unlock a directory, specify:
DELete LOCk dirid
To free the lock on PHOTO TIPS, enter:
delete lock photo tips .leisure
Query the lock again to ensure that the file is unlocked:
q lock photo tips .leisure
The following message will appear:
No locks are held on PHOTO TIPS VMSYSU:yourid.LEISURE
Because the file is no longer locked, Anne can now XEDIT the file and update it with new data.