This commit is contained in:
parent
a4028562ce
commit
aaad9f7207
@ -44,10 +44,10 @@
|
|||||||
%let chk=0;
|
%let chk=0;
|
||||||
proc sql noprint;
|
proc sql noprint;
|
||||||
select count(*) into: chk from &dc_libref..mpe_audit
|
select count(*) into: chk from &dc_libref..mpe_audit
|
||||||
where load_ref="&table";
|
where load_ref="&load_ref";
|
||||||
%if &chk=0 %then %do;
|
%if &chk=0 %then %do;
|
||||||
%let allow_restore=NO;
|
%let allow_restore=NO;
|
||||||
%let reason=No entry for &table in MPE_AUDIT;
|
%let reason=No entry for &load_ref in MPE_AUDIT;
|
||||||
%return;
|
%return;
|
||||||
%end;
|
%end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user