Example 1

This is a DFSORT procedure that prints all records where the surname at column 10 is “Smith”.
*FASTPROC
 OMIT COND=(10,10,CH,NE,C'SMITH ')