@sasjs/core 4.32.11 → 4.32.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/base/mp_binarycopy.sas +5 -0
- package/package.json +1 -1
package/base/mp_binarycopy.sas
CHANGED
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
@param [in] mode (CREATE) Valid values:
|
|
32
32
|
@li CREATE - Create the file (even if it already exists)
|
|
33
33
|
@li APPEND - Append to the file (don't overwrite)
|
|
34
|
+
@param iftrue= (1=1) Supply a condition for which the macro should be executed
|
|
34
35
|
|
|
35
36
|
@returns nothing
|
|
36
37
|
|
|
@@ -44,8 +45,12 @@
|
|
|
44
45
|
,inref=____in /* override default to use own filerefs */
|
|
45
46
|
,outref=____out /* override default to use own filerefs */
|
|
46
47
|
,mode=CREATE
|
|
48
|
+
,iftrue=%str(1=1)
|
|
47
49
|
)/*/STORE SOURCE*/;
|
|
48
50
|
%local mod;
|
|
51
|
+
|
|
52
|
+
%if not(%eval(%unquote(&iftrue))) %then %return;
|
|
53
|
+
|
|
49
54
|
%if &mode=APPEND %then %let mod=mod;
|
|
50
55
|
|
|
51
56
|
/* these IN and OUT filerefs can point to anything */
|
package/package.json
CHANGED