diff --git a/SAS(r) packages - the way to share (a how to)- Paper 4725-2020.pdf b/SAS(r) packages - the way to share (a how to)- Paper 4725-2020.pdf index e8c9624..83018b5 100644 Binary files a/SAS(r) packages - the way to share (a how to)- Paper 4725-2020.pdf and b/SAS(r) packages - the way to share (a how to)- Paper 4725-2020.pdf differ diff --git a/generatePackage.sas b/generatePackage.sas index 9728175..69dd7a5 100644 --- a/generatePackage.sas +++ b/generatePackage.sas @@ -48,7 +48,8 @@ /*** HELP START ***/ %macro GeneratePackge( - filesLocation=%sysfunc(pathname(work))/%lowcase(&packageName.) /* place for packages' files */ + /* location of package files */ + filesLocation=%sysfunc(pathname(work))/%lowcase(&packageName.) )/secure; /*** HELP END ***/ %local zipReferrence filesWithCodes _DESCR_ _LIC_ _RC_; diff --git a/loadpackage.sas b/loadpackage.sas index 660f4eb..888f1b4 100644 --- a/loadpackage.sas +++ b/loadpackage.sas @@ -51,11 +51,17 @@ TODO: /*** HELP START ***/ %macro loadPackage( - packageName /* name of a package, e.g. myPackageFile.zip, not null */ -, path = %sysfunc(pathname(packages)) /* location of a package, by default it looks for location of "packages" library */ + packageName /* name of a package, + e.g. myPackageFile.zip, + required and not null */ +, path = %sysfunc(pathname(packages)) /* location of a package, + by default it looks for + location of "packages" fileref */ , options = %str(LOWCASE_MEMNAME) /* possible options for ZIP filename */ -, source2 = /*source2*/ /* option to print out details, null by default */ -, requiredVersion = . /* option to test if loaded package is provided in required version */ +, source2 = /*source2*/ /* option to print out details, + null by default */ +, requiredVersion = . /* option to test if loaded package + is provided in required version */ )/secure; /*** HELP END ***/ %local ls_tmp ps_tmp notes_tmp source_tmp; @@ -99,10 +105,15 @@ TODO: /*** HELP START ***/ %macro unloadPackage( - packageName /* name of a package, e.g. myPackageFile.zip, not null */ -, path = %sysfunc(pathname(packages)) /* location of a package, by default it looks for location of "packages" library */ + packageName /* name of a package, + e.g. myPackageFile.zip, + required and not null */ +, path = %sysfunc(pathname(packages)) /* location of a package, + by default it looks for + location of "packages" fileref */ , options = %str(LOWCASE_MEMNAME) /* possible options for ZIP filename */ -, source2 = /*source2*/ /* option to print out details, null by default */ +, source2 = /*source2*/ /* option to print out details, + null by default */ )/secure; /*** HELP END ***/ %local ls_tmp ps_tmp notes_tmp source_tmp; @@ -137,11 +148,19 @@ TODO: /*** HELP START ***/ %macro helpPackage( - packageName /* name of a package, e.g. myPackageFile.zip, not null */ -, helpKeyword /* phrase to search, * means print all help */ -, path = %sysfunc(pathname(packages)) /* location of a package, by default it looks for location of "packages" library */ + packageName /* name of a package, + e.g. myPackageFile.zip, + required and not null */ +, helpKeyword /* phrase to search in help, + when empty prints description + "*" means prints all help + "license" prints license */ +, path = %sysfunc(pathname(packages)) /* location of a package, + by default it looks for + location of "packages" fileref */ , options = %str(LOWCASE_MEMNAME) /* possible options for ZIP filename */ -, source2 = /*source2*/ /* option to print out details, null by default */ +, source2 = /*source2*/ /* option to print out details, + null by default */ )/secure; /*** HELP END ***/ %local ls_tmp ps_tmp notes_tmp source_tmp;