all the functions specified in the manual include DATE or MONTH also in the output.
i need only the year (ex : 2012).
Currently i am doing it like this to generate the header record alone
i generate rest of the report in another sort, then combine both the SORT output using IEBGENER.
How can i achieve it using one SORT step only.