chore: adding xlmaps in startupservice response, #69
Some checks failed
Build / Build-and-ng-test (pull_request) Failing after 13s

This commit is contained in:
zver 2024-01-01 14:10:49 +00:00
parent 6ae31de1dd
commit cc4535245c
3 changed files with 35 additions and 2 deletions

View File

@ -428,7 +428,22 @@ insert into &lib..mpe_excel_map set
,xlmap_sheet='KM1'
,xlmap_start='RELATIVE R[12]C[4]'
,xlmap_finish='ABSOLUTE I13';
insert into &lib..mpe_excel_map set
tx_from=0
,tx_to='31DEC5999:23:59:59'dt
,xlmap_id='Sample'
,xlmap_range_id='header'
,xlmap_sheet='/1'
,xlmap_start='ABSOLUTE B3'
,xlmap_finish='ABSOLUTE B8';
insert into &lib..mpe_excel_map set
tx_from=0
,tx_to='31DEC5999:23:59:59'dt
,xlmap_id='Sample'
,xlmap_range_id='data'
,xlmap_sheet='/1'
,xlmap_start='ABSOLUTE B13'
,xlmap_finish='ABSOLUTE E16';
/**
* MPE_GROUPS

View File

@ -129,10 +129,17 @@ create table saslibs as
,msg=%str(issue with security validation)
)
proc sql;
create table work.xlmaps as
select distinct XLMAP_ID
from &mpelib..mpe_excel_map
where &dc_dttmtfmt. lt tx_to;
%webout(OPEN)
%webout(OBJ,sasDatasets)
%webout(OBJ,saslibs)
%webout(OBJ,globvars)
%webout(ARR,xlmaps)
%webout(CLOSE)
%mpeterm()

View File

@ -16,13 +16,24 @@
)
data globvars;
data work.globvars;
set webout.globvars;
putlog (_all_)(=);
run;
data work.xlmaps;
set webout.xlmaps;
putlog (_all_)(=);
run;
%mp_assertdsobs(work.globvars,
desc=Fromsas table returned,
test=HASOBS,
outds=work.test_results
)
%mp_assertdsobs(work.xlmaps,
desc=xlmaps table returned,
test=HASOBS,
outds=work.test_results
)