Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if SMH_CLIENT_TRAN_TYPE = 'O' and TBT_TRAN_STATUS = 'A'
- then do;
- if RQO_TRAN_DATE = _2_R032_PREV_DT
- then do;
- %set(_2_R032_CUM_AMT) = _2_R032_CUM_AMT + TBT_MOD_AMT;
- end;
- else if RQO_TRAN_DATE ne _2_R032_PREV_DT
- then do;
- %set(_2_R032_CUM_AMT) = TBT_MOD_AMT;
- %set(_2_R032_PREV_DT) = RQO_TRAN_DATE;
- %set(_2_R032_PREV_TIME) = RQO_TRAN_TIME;
- end;
- end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement