Clear

The CLEAR command removes active LOCKs. The format of the CLEAR command is:

        C[LEAR] [/qualifier...]
        
            
               LKE> CLEAR/PID=232005FB /INTERACTIVE
            
            
            

This command presents all LOCKs held by the process with a PID equal to 232005FB. You can choose whether or not to clear each LOCK.

The optional CLEAR command qualifiers are:

        
            /A[LL]

        /L[OCK]

        /[NO]C[RIT]

        /[NO]I[NTERACTIVE]

        /O[UTPUT]=file-spec

        
            /P[ID]=process id

        
            /R[EGION]=region-name
        

By default, CLEAR operates interactively (/INTERACTIVE).