Loading...
Searching...
No Matches
gethistory.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 mx_execute.sas
7 @li mp_assertdsobs.sas
8
9**/
10
11%let _program=&appLoc/services/approvers/gethistory;
12
13filename fref1 temp;
14
15data _null_;
16 file fref1 termstr=crlf;
17 put 'HIST:best.';
18 put '50';
19run;
20
21%mx_execute(&_program,
22 viyacontext=&defaultcontext,
23 inputfiles=fref1:BrowserParams ,
24 outlib=webout,
25 debug=log
26)
27
28
29data fromsas;
30 set webout.fromsas;
31run;
32
33%mp_assertdsobs(work.fromsas,
34 desc=Fromsas table returned,
35 test=HASOBS,
36 outds=work.test_results
37)