Your SORT field defines the duplicate field of the records. The 2 would represent the starting position of the duplicate field and the 5 would represent the length. Your duplicates will be gone and the SORTOUT file will contain the remainder of the records. Make sure your DCB on SORTOUT are valued correctly.
p,m,f is the starting position, length and format of the field you want to use to determine duplicates.
You can also use SELECT for many other types of operations involving duplicates (e.g. LAST, FIRSTDUP, LASTDUP, ALLDUPS, NODUPS, etc). See the following for more information on SELECT: