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