Implementation of the Progress OpenEdge ENCODE algorithm