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