1
0
mirror of https://github.com/sasjs/core.git synced 2026-01-05 00:20:05 +00:00

fix: removing LUA dependency from mv_webout to enable Viya 4 compatibility

This commit is contained in:
munja
2022-04-01 16:56:49 +01:00
parent 7726b0e0b0
commit c4baca477b
5 changed files with 113 additions and 201 deletions

View File

@@ -1,15 +1,33 @@
/**
@file
@brief Testing mm_webout macro
@brief Testing mv_webout macro
<h4> SAS Macros </h4>
@li mf_getuniquefileref.sas
@li mv_webout.sas
@li mp_assert.sas
@li mp_assertdsobs.sas
**/
/* testing FETCHing (WEB approach) */
data _null_;
call symputx('sasjs1data','area:$char4.'!!'0d0a'x!!'Adak');
call symputx('sasjs_tables','areas');
run;
%put &=sasjs1data;
%mv_webout(FETCH)
%mp_assertdsobs(work.areas,
desc=Test input table has 1 row,
test=EQUALS 1,
outds=work.test_results
)
%let fref=%mf_getuniquefileref();
%global _metaperson;
data some datasets;
@@ -38,4 +56,4 @@ run;
%mp_assert(
iftrue=(%str(&checkval)=%str(&sysvlong)),
desc=Check if the sysvlong value was created
)
)