SequentialFile lockFile = new SequentialFile(as400System, lockFilename);
if (lockFile.getExplicitLocks().length > 0)
{ // There are locks.
try
{
lockFile.releaseExplicitLocks();
} // try
catch (Exception ex)
{
List params = new Vector();
params.add(lockFilename);