Advertisement
ZeyadNofal

R032_AUTH

Jul 28th, 2022 (edited)
1,059
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SAS 0.70 KB | None | 0 0
  1. if SMH_CLIENT_TRAN_TYPE = 'R' and TBT_TRAN_STATUS = 'P'
  2. and XQO_LIMIT_AMT ne . and XQO_LIMIT_AMT ne 0
  3. then do;
  4.     if RQO_TRAN_DATE = _2_R032_PREV_DT
  5.     and DHMS(RQO_TRAN_DATE, 0, 0, RQO_TRAN_TIME) - _2_R032_CHANGE_DT
  6.     < DHMS(7, 0, 0, 0)
  7.     and _2_R032_CUM_AMT + TBT_MOD_AMT > 0.8 * XQO_LIMIT_AMT
  8.     and TBT_MOD_AMT >= 275250
  9.     then do;
  10.         %Action_Hold();
  11.     end;
  12.     else if RQO_TRAN_DATE ne _2_R032_PREV_DT
  13.     and DHMS(RQO_TRAN_DATE, 0, 0, RQO_TRAN_TIME) -
  14.     DHMS(_2_R032_PREV_DT, 0, 0, _2_R032_PREV_TIME) < DHMS(0, 24, 0, 0)
  15.     and DHMS(RQO_TRAN_DATE, 0, 0, RQO_TRAN_TIME) - _2_R032_CHANGE_DT
  16.     < DHMS(7, 0, 0, 0)
  17.     and TBT_MOD_AMT > 0.8 * XQO_LIMIT_AMT
  18.     and TBT_MOD_AMT >= 275250
  19.     then do;
  20.         %Action_Hold();
  21.     end;
  22. end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement