Macros for SAS Application Developers
https://github.com/sasjs/core
Loading...
Searching...
No Matches
mp_streamfile.test.sas
Go to the documentation of this file.
1/**
2 @file
3 @brief Testing mp_streamfile.sas macro
4 @details This is tricky to test as it streams to webout. For now just
5 check the compilation, and for macro leakage.
6
7 <h4> SAS Macros </h4>
8 @li mp_assert.sas
9 @li mp_assertscope.sas
10 @li mp_streamfile.sas
11
12**/
13
14%mp_assertscope(SNAPSHOT)
15
16%mp_streamfile(iftrue=(1=0)
17 ,contenttype=csv,inloc=/some/where.txt
18 ,outname=myfile.txt
19)
20
21%mp_assertscope(COMPARE)
22
23%mp_assert(
24 iftrue=(&syscc=0),
25 desc=Checking error condition,
26 outds=work.test_results
27)
28