fix: ensure cleanup of casuser temp table in error condition
This commit is contained in:
@@ -196,6 +196,8 @@ run;
|
|||||||
%mp_lockanytable(UNLOCK,lib=&lib,ds=&ds,ref=&ETLSOURCE (aborted),
|
%mp_lockanytable(UNLOCK,lib=&lib,ds=&ds,ref=&ETLSOURCE (aborted),
|
||||||
ctl_ds=&dclib..mpe_lockanytable
|
ctl_ds=&dclib..mpe_lockanytable
|
||||||
)
|
)
|
||||||
|
/* ensure cleanup */
|
||||||
|
proc sql;drop table CASUSER.&tmpds;quit;
|
||||||
%end;
|
%end;
|
||||||
%mp_abort(iftrue= (&syscc>0)
|
%mp_abort(iftrue= (&syscc>0)
|
||||||
,mac=&sysmacroname
|
,mac=&sysmacroname
|
||||||
|
|||||||
Reference in New Issue
Block a user