getcolvals.test.1.sas
Go to the documentation of this file.
1 /**
2  @file
3  @brief testing getcolvals 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 f3=%mf_getuniquefileref();
14 data _null_;
15  file &f3 termstr=crlf;
16  put 'LIBDS:$43. COL:$32.';
17  put "&dclib..MPE_X_TEST,SOME_TIME";
18 run;
19 %mp_testservice(&_program,
20  viyacontext=&defaultcontext,
21  inputfiles=&f3:iwant,
22  outlib=web3
23 )
24 
25 data work.vals;
26  set web3.vals;
27  putlog (_all_)(=);
28 run;
29 data work.check;
30  val=1;output;
31  val=2;output;
32 run;
33 %mp_assertcolvals(work.vals.unformatted,
34  checkvals=work.check.val,
35  desc=DCLIB found in unfiltered getgolvals response,
36  test=ANYVAL
37 )