I have an input file with record length 80. There are four fields in the input file. The record layout is as follows.
05 BRANCH-NO PIC S9(7) COMP-3.
05 ACCOUNT-NO PIC S9(9) COMP-3.
05 LIM-LAST-CHG-YYDDD PIC S9(5) COMP-3.
05 LIM-EXP-YYDDD PIC S9(5) COMP-3.
05 FILLER PIC X(65).
05 ACCOUNT-NO PIC S9(9) COMP-3.
05 LIM-LAST-CHG-YYDDD PIC S9(5) COMP-3.
05 LIM-EXP-YYDDD PIC S9(5) COMP-3.
05 FILLER PIC X(65).
My requirement is to extract records from the input file for which the expiry date is greater than 12 months from last changed date field.
Please let me know if any other details are requried.
Thanks
Prasanna G.