refreshlibinfo.test.sas
Go to the documentation of this file.
1 /**
2  @file
3  @brief testing public/refreshlibinfo service
4 
5  <h4> SAS Macros </h4>
6  @li mp_assert.sas
7  @li mx_testservice.sas
8 
9  <h4> Related Programs </h4>
10  @li refreshlibinfo.sas
11 
12 **/
13 
14 %let _program=&appLoc/services/public/refreshlibinfo;
15 
16 data work.lib2refresh;
17  libref="&dclib";
18 run;
19 
20 %mx_testservice(&_program,
21  viyacontext=&defaultcontext,
22  inputdatasets=work.lib2refresh,
23  outlib=web1,
24  mdebug=&sasjs_mdebug
25 )
26 
27 %let libref=0;
28 data work.libinfo;
29  set web1.libinfo;
30  putlog (_all_)(=);
31  call symputx('libref',libname);
32 run;
33 
34 %mp_assert(
35  iftrue=(&libref=&dclib),
36  desc=Ensure the service ran without errors
37 )
38 
39 
40