Loading...
Searching...
No Matches
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 mx_execute.sas
8 @li mf_getuniquefileref.sas
9
10**/
11
12%let _program=&appLoc/services/public/getcolvals;
13
14%let f1=%mf_getuniquefileref();
15data _null_;
16 file &f1 termstr=crlf;
17 put 'LIBDS:$43. COL:$32.';
18 put "&dclib..MPE_TABLES,LIBREF";
19run;
20%mx_execute(&_program,
21 viyacontext=&defaultcontext,
22 inputfiles=&f1:iwant,
23 outlib=web1
24)
25
26data work.vals1;
27 set web1.vals;
28 putlog (_all_)(=);
29run;
30
31
32data work.check;
33 val="&dclib";
34run;
35%mp_assertcolvals(work.vals1.unformatted,
36 checkvals=work.check.val,
37 desc=DCLIB found in unfiltered getgolvals response,
38 test=ANYVAL
39)