mirror of
https://github.com/yabwon/SAS_PACKAGES.git
synced 2026-01-07 07:00:05 +00:00
version 20200422
Bugfix in ICEloadPackage macro
This commit is contained in:
Binary file not shown.
@@ -36,7 +36,7 @@
|
||||
*/
|
||||
/**#############################################################################**/
|
||||
|
||||
/* Macros to generate SAS packages, version 20200101 */
|
||||
/* Macros to generate SAS packages, version 20200422 */
|
||||
/* A SAS package is a zip file containing a group
|
||||
of SAS codes (macros, functions, datasteps generating
|
||||
data, etc.) wrapped up together and %INCLUDEed by
|
||||
@@ -474,6 +474,8 @@ data _null_;
|
||||
put ' packageName /* name of a package */ ';
|
||||
put ' , path = %sysfunc(pathname(packages)) /* location of a package */ ';
|
||||
put ' , options = %str(LOWCASE_MEMNAME) /* possible options for ZIP */ ';
|
||||
put ' , zip = zip /* file ext. */ ';
|
||||
put ' , source2 = /* source2*/ ';
|
||||
put ' )/secure; ';
|
||||
put ' %PUT ** NOTE: Package ' "&packageName." ' loaded in ICE mode **; ';
|
||||
put ' %local _PackageFileref_; ';
|
||||
@@ -486,7 +488,7 @@ data _null_;
|
||||
put ' filename &_PackageFileref_. &ZIP. ';
|
||||
put ' "&path./%lowcase(&packageName.).&zip." %unquote(&options.) ';
|
||||
put ' ENCODING = ';
|
||||
put ' %if %bquote(&packageEncoding.) NE %then &packageEncoding. ; ';
|
||||
put ' %if %bquote(&packageEncoding.) NE %then &packageEncoding. ;; ';
|
||||
put ' %include &_PackageFileref_.(load.sas) / &source2.; ';
|
||||
put ' filename &_PackageFileref_. clear; ';
|
||||
put ' %mend ICEloadPackage; ';
|
||||
@@ -1103,7 +1105,7 @@ data _null_;
|
||||
put ' end ; ';
|
||||
%end;
|
||||
|
||||
put 'put "***"; put "* SAS package generated by generatePackage, version 20200101 *"; put "***";';
|
||||
put 'put "***"; put "* SAS package generated by generatePackage, version 20200422 *"; put "***";';
|
||||
|
||||
put 'run; ' /;
|
||||
|
||||
|
||||
BIN
macroarray.zip
BIN
macroarray.zip
Binary file not shown.
BIN
sqlinds.zip
BIN
sqlinds.zip
Binary file not shown.
Reference in New Issue
Block a user