fix: reverting xlmap in getdata change
Build / Build-and-ng-test (pull_request) Failing after 12s Details

This commit is contained in:
zmaj 2024-01-19 10:52:39 +00:00
parent fd94945466
commit 2d6e747db9
2 changed files with 3 additions and 15 deletions

View File

@ -537,19 +537,8 @@ run;
%put params;
%let ismap=0;
proc sql noprint;
create table xlmapids as
select distinct a.XLMAP_ID
from &mpelib..MPE_XLMAP_RULES a
left join &mpelib..MPE_XLMAP_INFO(where=(&dc_dttmtfmt. lt tx_to)) b
on a.XLMAP_ID=b.XLMAP_ID
where &dc_dttmtfmt. lt a.tx_to
and (
b.XLMAP_TARGETLIBDS="&orig_libds"
or (
"&orig_libds"="&mpelib..MPE_XLMAP_DATA" and b.XLMAP_TARGETLIBDS is null
)
);
select count(*) into: ismap from work.xlmapids;
select count(*) into: ismap from &mpelib..mpe_xlmap_info
where XLMAP_TARGETLIBDS="&orig_libds" and &dc_dttmtfmt. le TX_TO;
data sasparams;
length colHeaders $20000 filter_text $32767;
@ -689,7 +678,6 @@ run;
%webout(OBJ,sasdata1,fmt=N,missing=STRING,showmeta=YES,dslabel=sasdata)
%webout(OBJ,sasparams)
%webout(OBJ,xl_rules)
%webout(OBJ,xlmapids)
%webout(CLOSE)
/*

View File

@ -133,7 +133,7 @@ proc sql;
create table work.xlmaps as
select distinct a.XLMAP_ID
,b.XLMAP_DESCRIPTION
,b.XLMAP_TARGETLIBDS
,coalescec(b.XLMAP_TARGETLIBDS,"&mpelib..MPE_XLMAP_DATA") as XLMAP_TARGETLIBDS
from &mpelib..MPE_XLMAP_RULES a
left join &mpelib..MPE_XLMAP_INFO(where=(&dc_dttmtfmt. lt tx_to)) b
on a.XLMAP_ID=b.XLMAP_ID