The codes of PAT OJ