In OpenEdge database you can use 4GL and SQL commands. I like SQL commands because I don't know to much about 4GL :D. Below, there is a SQL script to show blocked transactions and locks. select distinct database() as 'Database', c."_Connect-Id" as 'ID', c."_Connect-Time" as 'Date', t."_Trans-txtime" as 'Start time', t."_Trans-Duration" as 'Time in seconds', c."_Connect-Name" as 'User', c."_Connect-IPAddress" as 'IP', c."_Connect-Pid" as 'PID SO', t.TBL as 'Table', l."_Lock-Flags" as 'Type' from pub."_trans" t, pub."_connect" c, PUB."_Lock" l, sysprogress.SYSTABLES t where t."_Trans-State" = 'ACTIVE' and t."_Trans-Usrnum" = c."_Connect-Usr" and c."_Connect-Usr" = l."_Lock-Usr...