LOCKED()

 

Syntax:

 If: LOCKED(lookupname)

 

Version Ref:  4.8

 

Description:

Test if the specified lookup failed because the record was locked. (requires the new "-w" flag on lookup in addition to the "-p" flag)