Files
dc/sas/sasjs/services/public/refreshlibinfo.test.sas
T
4gl 6527c10f26
Build / Build-and-ng-test (pull_request) Successful in 5m8s
Lighthouse Checks / lighthouse (pull_request) Successful in 21m36s
Build / Build-and-test-development (pull_request) Successful in 25m4s
fix: core major bump plus autofix of viya context on deploy
2026-08-17 15:46:52 +01:00

41 lines
623 B
SAS

/**
@file
@brief testing public/refreshlibinfo service
<h4> SAS Macros </h4>
@li mp_assert.sas
@li mx_execute.sas
<h4> Related Programs </h4>
@li refreshlibinfo.sas
**/
%let _program=&appLoc/services/public/refreshlibinfo;
data work.lib2refresh;
libref="&dclib";
run;
%mx_execute(&_program,
viyacontext=&defaultcontext,
inputdatasets=work.lib2refresh,
outlib=web1,
mdebug=&sasjs_mdebug
)
%let libref=0;
data work.libinfo;
set web1.libinfo;
putlog (_all_)(=);
call symputx('libref',libname);
run;
%mp_assert(
iftrue=(&libref=&dclib),
desc=Ensure the service ran without errors
)