I/P :
2014-10-30
O/P:
120901
I have used the below code to subtract three years from the input file. Let me know your suggestions please to subtract and populate the o/p in yymmdd format.
SORT FIELDS=COPY
OUTREC BUILD=(DATE1-1095)
OUTREC BUILD=(DATE1-1095)