getcolvals.test.sas
Go to the documentation of this file.
1 /**
2  @file
3  @brief testing gethistory service
4 
5  <h4> SAS Macros </h4>
6  @li mp_assertcolvals.sas
7  @li mf_getuniquefileref.sas
8 
9 **/
10 
11 %let _program=&appLoc/services/public/getcolvals;
12 
13 %let f1=%mf_getuniquefileref();
14 data _null_;
15  file &f1 termstr=crlf;
16  put 'LIBDS:$43. COL:$32.';
17  put "&dclib..MPE_TABLES,LIBREF";
18 run;
19 %mp_testservice(&_program,
20  viyacontext=&defaultcontext,
21  inputfiles=&f1:iwant,
22  outlib=web1
23 )
24 
25 data work.vals1;
26  set web1.vals;
27  putlog (_all_)(=);
28 run;
29 
30 
31 data work.check;
32  val="&dclib";
33 run;
34 %mp_assertcolvals(work.vals1.unformatted,
35  checkvals=work.check.val,
36  desc=DCLIB found in unfiltered getgolvals response,
37  test=ANYVAL
38 )