fix: reverting xlmap in getdata change
Some checks failed
Build / Build-and-ng-test (pull_request) Failing after 12s
Some checks failed
Build / Build-and-ng-test (pull_request) Failing after 12s
This commit is contained in:
parent
fd94945466
commit
2d6e747db9
@ -537,19 +537,8 @@ run;
|
|||||||
%put params;
|
%put params;
|
||||||
%let ismap=0;
|
%let ismap=0;
|
||||||
proc sql noprint;
|
proc sql noprint;
|
||||||
create table xlmapids as
|
select count(*) into: ismap from &mpelib..mpe_xlmap_info
|
||||||
select distinct a.XLMAP_ID
|
where XLMAP_TARGETLIBDS="&orig_libds" and &dc_dttmtfmt. le TX_TO;
|
||||||
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;
|
|
||||||
|
|
||||||
data sasparams;
|
data sasparams;
|
||||||
length colHeaders $20000 filter_text $32767;
|
length colHeaders $20000 filter_text $32767;
|
||||||
@ -689,7 +678,6 @@ run;
|
|||||||
%webout(OBJ,sasdata1,fmt=N,missing=STRING,showmeta=YES,dslabel=sasdata)
|
%webout(OBJ,sasdata1,fmt=N,missing=STRING,showmeta=YES,dslabel=sasdata)
|
||||||
%webout(OBJ,sasparams)
|
%webout(OBJ,sasparams)
|
||||||
%webout(OBJ,xl_rules)
|
%webout(OBJ,xl_rules)
|
||||||
%webout(OBJ,xlmapids)
|
|
||||||
%webout(CLOSE)
|
%webout(CLOSE)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -133,7 +133,7 @@ proc sql;
|
|||||||
create table work.xlmaps as
|
create table work.xlmaps as
|
||||||
select distinct a.XLMAP_ID
|
select distinct a.XLMAP_ID
|
||||||
,b.XLMAP_DESCRIPTION
|
,b.XLMAP_DESCRIPTION
|
||||||
,b.XLMAP_TARGETLIBDS
|
,coalescec(b.XLMAP_TARGETLIBDS,"&mpelib..MPE_XLMAP_DATA") as XLMAP_TARGETLIBDS
|
||||||
from &mpelib..MPE_XLMAP_RULES a
|
from &mpelib..MPE_XLMAP_RULES a
|
||||||
left join &mpelib..MPE_XLMAP_INFO(where=(&dc_dttmtfmt. lt tx_to)) b
|
left join &mpelib..MPE_XLMAP_INFO(where=(&dc_dttmtfmt. lt tx_to)) b
|
||||||
on a.XLMAP_ID=b.XLMAP_ID
|
on a.XLMAP_ID=b.XLMAP_ID
|
||||||
|
Loading…
Reference in New Issue
Block a user