fix: providing info on mapids to FE
Build / Build-and-ng-test (pull_request) Failing after 13s
Details
Build / Build-and-ng-test (pull_request) Failing after 13s
Details
This commit is contained in:
parent
d3b0c09332
commit
fd94945466
|
@ -457,7 +457,7 @@ insert into &lib..mpe_xlmap_rules set
|
|||
insert into &lib..mpe_xlmap_rules set
|
||||
tx_from=0
|
||||
,tx_to='31DEC5999:23:59:59'dt
|
||||
,xlmap_id='Sample'
|
||||
,xlmap_id='SAMPLE'
|
||||
,xlmap_range_id='header'
|
||||
,xlmap_sheet='/1'
|
||||
,xlmap_start='ABSOLUTE B3'
|
||||
|
@ -465,7 +465,7 @@ insert into &lib..mpe_xlmap_rules set
|
|||
insert into &lib..mpe_xlmap_rules set
|
||||
tx_from=0
|
||||
,tx_to='31DEC5999:23:59:59'dt
|
||||
,xlmap_id='Sample'
|
||||
,xlmap_id='SAMPLE'
|
||||
,xlmap_range_id='data'
|
||||
,xlmap_sheet='/1'
|
||||
,xlmap_start='ABSOLUTE B13'
|
||||
|
@ -1901,6 +1901,16 @@ insert into &lib..MPE_VALIDATIONS set
|
|||
,rule_value='1'
|
||||
,rule_active=1
|
||||
,tx_to='31DEC5999:23:59:59'dt;
|
||||
insert into &lib..MPE_VALIDATIONS set
|
||||
tx_from=0
|
||||
,base_lib="&lib"
|
||||
,base_ds="MPE_XLMAP_INFO"
|
||||
,base_col="XLMAP_ID"
|
||||
,rule_type='SOFTSELECT'
|
||||
,rule_value="&lib..MPE_XLMAP_RULES.XLMAP_ID"
|
||||
,rule_active=1
|
||||
,tx_to='31DEC5999:23:59:59'dt;
|
||||
|
||||
|
||||
/**
|
||||
* MPE_X_TEST
|
||||
|
|
|
@ -537,8 +537,19 @@ run;
|
|||
%put params;
|
||||
%let ismap=0;
|
||||
proc sql noprint;
|
||||
select count(*) into: ismap from &mpelib..mpe_xlmap_info
|
||||
where XLMAP_TARGETLIBDS="&orig_libds" and &dc_dttmtfmt. le TX_TO;
|
||||
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;
|
||||
|
||||
data sasparams;
|
||||
length colHeaders $20000 filter_text $32767;
|
||||
|
@ -648,8 +659,6 @@ proc sort data=dqdata;
|
|||
by base_col selectbox_order;
|
||||
run;
|
||||
|
||||
|
||||
|
||||
%mp_getmaxvarlengths(work.sasdata1,outds=maxvarlengths)
|
||||
|
||||
data maxvarlengths;
|
||||
|
@ -680,6 +689,7 @@ run;
|
|||
%webout(OBJ,sasdata1,fmt=N,missing=STRING,showmeta=YES,dslabel=sasdata)
|
||||
%webout(OBJ,sasparams)
|
||||
%webout(OBJ,xl_rules)
|
||||
%webout(OBJ,xlmapids)
|
||||
%webout(CLOSE)
|
||||
|
||||
/*
|
||||
|
|
|
@ -131,9 +131,13 @@ create table saslibs as
|
|||
|
||||
proc sql;
|
||||
create table work.xlmaps as
|
||||
select distinct XLMAP_ID
|
||||
from &mpelib..MPE_XLMAP_RULES
|
||||
where &dc_dttmtfmt. lt tx_to;
|
||||
select distinct a.XLMAP_ID
|
||||
,b.XLMAP_DESCRIPTION
|
||||
,b.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
|
||||
where &dc_dttmtfmt. lt a.tx_to;
|
||||
|
||||
%webout(OPEN)
|
||||
%webout(OBJ,sasDatasets)
|
||||
|
|
Loading…
Reference in New Issue