INCLUDE およびサブ文字列の比較を使用した単一ファイルのソート

次の mfsort コマンドは、行順編成ファイル sortin.dat を取り、そのレコードを、開始位置が 11 で長さが 4 バイトの文字フィールドでソートします。結果はファイル sortout.dat に出力されます。このファイルには、開始位置が 15 で長さが 3 バイトのサブ文字列が、文字列 'J69,L92,J82' 内の連続する 3 文字と等しいレコードのみが含まれます。

mfsort sort fields=(11,4,ch,a)
   use sortin.dat org ls record (f 80)
   give sortout.dat
   include cond=(15,3,ss,eq,c'J69,L92,J82')