This has probably been asked and answered a million times before but: Is there a way of programmatically querying the Cache lock table to determine which process ID or username [ if any ] has a lock on a given global node?
i.e. Is there any way of getting #USERNAME in the following scenario: l +^ORDERS(orderNo):0 i '$t d .w !,"Order locked by user: "_#USERNAME I would like to do this with Cache's own lock table rather than implementing my own! I know $ZUTIL(67,11,pid) will give me the username for a given process ID, so can I get the process ID for a given locked node?
