23%macro run_postexec_eba2020(debug_flg=FALSE);
30 %let cnt_cm = %sysfunc(countw(&mipcomputedmethods., %str( )));
35 data &ds_out_model_result.;
36 set &ds_in_model_result.;
37 array provision(&cnt_cm.)
38 %
do i_cm=1 %to &cnt_cm.;
39 %scan(&mipcomputedmethods.,&i_cm., %str( ))
42 %
do i_cm=0 %to %eval(&cnt_cm.-1);
43 if forecast_time=&i_cm. then
do;
44 ALLOWANCE_AMT=provision[&i_cm.+1];
48 %
do i_cm=1 %to &cnt_cm.;
49 %scan(&mipcomputedmethods.,&i_cm., %str( ))
56 libname libdebug %sysfunc(quote(%sysfunc(pathname(work)))) ;
59 %
if %upcase(&debug_flg.) = TRUE %then %
do;
61 libname libdebug
'/opt/sas/repositories/risk/debug';
62 data libdebug.eba2020pre;
63 set &ds_in_model_result.;
65 data libdebug.eba2020post;
66 set &ds_out_model_result.;
72%run_postexec_eba2020();