Macros for SAS Application Developers
https://github.com/sasjs/core
Loading...
Searching...
No Matches
ms_createfile.test.sas
Go to the documentation of this file.
1/**
2 @file
3 @brief Testing ms_createfile.sas macro
4
5 <h4> SAS Macros </h4>
6 @li ms_createfile.sas
7 @li mp_assert.sas
8 @li mp_assertscope.sas
9
10**/
11
12
13filename stpcode temp;
14data _null_;
15 file stpcode;
16 put '%put hello world;';
17run;
18
19options mprint;
20%let fname=%mf_getuniquename();
21
22%mp_assertscope(SNAPSHOT)
23%ms_createfile(/sasjs/tests/&fname..sas
24 ,inref=stpcode
25 ,mdebug=1
26)
27%mp_assertscope(COMPARE)
28
29
30