system

The system system variable references the instance of the System class (the group of nodes to which the current node belongs). For example, you could use the code in the following example to access the locks in all nodes in the JADE environment.

vars
    locks   : LockArray;
    notMine : Lock;
begin
    create locks transient;
    system.getLocks(locks, 100); // retrieve a maximum of 100 locks
    foreach notMine in locks do
        write notMine.target.String & "locked by " &
                    notMine.lockedBy.userCode;
    endforeach;
epilog
    delete locks;
end;