Below is the logic I have to populate a variable "Curr_Del" by comparing 3 variables (O21, pmt_due, pmt_trans, of the format type mmyys10.).
What I am need to accomplish is this:
- If O21 = pmt_due and O21 <= pmt_trans then Curr_Del = "Current"
- Else Curr_Del = "Delq"
by client loan_num;
if o21_actual_date ne .;
if o21 eq pmt_due then
if pmt_trans le o21 then
curr_del = 'Current';
else curr_del = 'Delq';
I had it working once and now have been looking at it so long I need assistance.