Hi,
Is there any way i can limit the number of output records to a desired count using sort?
for ex:
input file:
ABC111XXX
DEF222YYY
GHT111ZZZ
LMN111QQQ
i want only ABC111XXX and GHT111ZZZ in my output file.
i used
SORT FIELDS=COPY
INCLUDE COND=(4,3,CH,EQ,C'111'),ACCEPT=2
but it gave syntax error as: INVALID INCLUDE OR OMIT STATEMENT OPERAND
sorry for not finding solution if its there already in the manuals