mirror of
https://github.com/yabwon/SAS_PACKAGES.git
synced 2025-12-12 03:34:35 +00:00
SAS Packages Framework, version 20250729
SAS Packages Framework, version 20250729
Changes:
- New parameter `github=` added to the `%installPackage()` macro.
- Documentation updated.
This commit is contained in:
@@ -16,7 +16,7 @@ Don't forget to give the repository a **STAR** and become [stargazer](https://gi
|
|||||||
|
|
||||||
### Current version:
|
### Current version:
|
||||||
|
|
||||||
**The latest version** of the **SAS Packages Framework** is **`20250728`**.
|
**The latest version** of the **SAS Packages Framework** is **`20250729`**.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -6,7 +6,7 @@
|
|||||||
when empty the "packages" value is used */
|
when empty the "packages" value is used */
|
||||||
)/secure
|
)/secure
|
||||||
/*** HELP END ***/
|
/*** HELP END ***/
|
||||||
des = 'Macro to list directories pointed by "packages" fileref, version 20250728. Run %extendPackagesFileref(HELP) for help info.'
|
des = 'Macro to list directories pointed by "packages" fileref, version 20250729. Run %extendPackagesFileref(HELP) for help info.'
|
||||||
;
|
;
|
||||||
|
|
||||||
%if %QUPCASE(&packages.) = HELP %then
|
%if %QUPCASE(&packages.) = HELP %then
|
||||||
@@ -22,7 +22,7 @@ des = 'Macro to list directories pointed by "packages" fileref, version 20250728
|
|||||||
%put ### This is short help information for the `extendPackagesFileref` macro #;
|
%put ### This is short help information for the `extendPackagesFileref` macro #;
|
||||||
%put #-----------------------------------------------------------------------------------------#;;
|
%put #-----------------------------------------------------------------------------------------#;;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # Macro to list directories pointed by 'packages' fileref, version `20250728` #;
|
%put # Macro to list directories pointed by 'packages' fileref, version `20250729` #;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # A SAS package is a zip file containing a group #;
|
%put # A SAS package is a zip file containing a group #;
|
||||||
%put # of SAS codes (macros, functions, data steps generating #;
|
%put # of SAS codes (macros, functions, data steps generating #;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Macro to generate SAS packages.
|
Macro to generate SAS packages.
|
||||||
|
|
||||||
Version 20250728
|
Version 20250729
|
||||||
|
|
||||||
A SAS package is a zip file containing a group
|
A SAS package is a zip file containing a group
|
||||||
of SAS codes (macros, functions, data steps generating
|
of SAS codes (macros, functions, data steps generating
|
||||||
@@ -43,7 +43,7 @@
|
|||||||
file name be created */
|
file name be created */
|
||||||
)/ secure minoperator
|
)/ secure minoperator
|
||||||
/*** HELP END ***/
|
/*** HELP END ***/
|
||||||
des = 'Macro to generate SAS packages, version 20250728. Run %generatePackage() for help info.'
|
des = 'Macro to generate SAS packages, version 20250729. Run %generatePackage() for help info.'
|
||||||
;
|
;
|
||||||
%if (%superq(filesLocation) = ) OR (%qupcase(&filesLocation.) = HELP) %then
|
%if (%superq(filesLocation) = ) OR (%qupcase(&filesLocation.) = HELP) %then
|
||||||
%do;
|
%do;
|
||||||
@@ -58,7 +58,7 @@ des = 'Macro to generate SAS packages, version 20250728. Run %generatePackage()
|
|||||||
%put ### This is short help information for the `generatePackage` macro #;
|
%put ### This is short help information for the `generatePackage` macro #;
|
||||||
%put #-------------------------------------------------------------------------------#;
|
%put #-------------------------------------------------------------------------------#;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # Macro to generate SAS packages, version `20250728` #;
|
%put # Macro to generate SAS packages, version `20250729` #;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # A SAS package is a zip file containing a group #;
|
%put # A SAS package is a zip file containing a group #;
|
||||||
%put # of SAS codes (macros, functions, data steps generating #;
|
%put # of SAS codes (macros, functions, data steps generating #;
|
||||||
@@ -873,7 +873,7 @@ title6 "MD5 hashed fileref of package lowcase name: &_PackageFileref_.";
|
|||||||
title8 "Required SAS packages: %qsysfunc(compress(%superq(packageReqPackages),%str(%'%")))" ; /* " */
|
title8 "Required SAS packages: %qsysfunc(compress(%superq(packageReqPackages),%str(%'%")))" ; /* " */
|
||||||
%end;
|
%end;
|
||||||
|
|
||||||
footnote1 "SAS Packages Framework, version 20250728";
|
footnote1 "SAS Packages Framework, version 20250729";
|
||||||
|
|
||||||
proc print
|
proc print
|
||||||
data = &filesWithCodes.(drop=base folderRef fileRef rc folderid _abort_ fileId additionalContent)
|
data = &filesWithCodes.(drop=base folderRef fileRef rc folderid _abort_ fileId additionalContent)
|
||||||
@@ -1697,7 +1697,7 @@ data _null_;
|
|||||||
%end;
|
%end;
|
||||||
put +(-1) '`.;''' /
|
put +(-1) '`.;''' /
|
||||||
' !! '' %put The macro generated: '' !! put(dtCASLudf, E8601DT19.-L) !! ";"' /
|
' !! '' %put The macro generated: '' !! put(dtCASLudf, E8601DT19.-L) !! ";"' /
|
||||||
' !! '' %put with the SAS Packages Framework version 20250728.;''' /
|
' !! '' %put with the SAS Packages Framework version 20250729.;''' /
|
||||||
' !! '' %put ****************************************************************************;''' /
|
' !! '' %put ****************************************************************************;''' /
|
||||||
' !! '' %GOTO theEndOfTheMacro;''' /
|
' !! '' %GOTO theEndOfTheMacro;''' /
|
||||||
' !! '' %end;''' ;
|
' !! '' %end;''' ;
|
||||||
@@ -1862,7 +1862,7 @@ data _null_;
|
|||||||
%end;
|
%end;
|
||||||
put +(-1) '`.; '' !!' /
|
put +(-1) '`.; '' !!' /
|
||||||
''' %put The macro generated: ''' " !! put(dtIML, E8601DT19.-L) !! " '''; '' !!' /
|
''' %put The macro generated: ''' " !! put(dtIML, E8601DT19.-L) !! " '''; '' !!' /
|
||||||
''' %put with the SAS Packages Framework version 20250728.; '' !! ' /
|
''' %put with the SAS Packages Framework version 20250729.; '' !! ' /
|
||||||
''' %put ****************************************************************************; '' !! ' /
|
''' %put ****************************************************************************; '' !! ' /
|
||||||
''' %GOTO theEndOfTheMacro; '' !! ' /
|
''' %GOTO theEndOfTheMacro; '' !! ' /
|
||||||
''' %end; '' !! ' /
|
''' %end; '' !! ' /
|
||||||
@@ -2669,7 +2669,7 @@ data _null_;
|
|||||||
%end;
|
%end;
|
||||||
|
|
||||||
put 'put " " / @3 "--------------------------------------------------------------------" / " ";'
|
put 'put " " / @3 "--------------------------------------------------------------------" / " ";'
|
||||||
/ 'put @3 "*SAS package generated by SAS Package Framework, version `20250728`*";'
|
/ 'put @3 "*SAS package generated by SAS Package Framework, version `20250729`*";'
|
||||||
/ 'put " " / @3 "--------------------------------------------------------------------";';
|
/ 'put " " / @3 "--------------------------------------------------------------------";';
|
||||||
|
|
||||||
put 'run; ' /;
|
put 'run; ' /;
|
||||||
@@ -3707,7 +3707,7 @@ data &filesWithCodes.markdown;
|
|||||||
%end;
|
%end;
|
||||||
|
|
||||||
put " " / "--------------------------------------------------------------------" / " "
|
put " " / "--------------------------------------------------------------------" / " "
|
||||||
/ "*SAS package generated by SAS Package Framework, version `20250728`*"
|
/ "*SAS package generated by SAS Package Framework, version `20250729`*"
|
||||||
/ " " / "--------------------------------------------------------------------" / " ";
|
/ " " / "--------------------------------------------------------------------" / " ";
|
||||||
|
|
||||||
put "# The `&packageName.` package content";
|
put "# The `&packageName.` package content";
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
*/
|
*/
|
||||||
)/secure
|
)/secure
|
||||||
/*** HELP END ***/
|
/*** HELP END ***/
|
||||||
des = 'Macro to get help about SAS package, version 20250728. Run %helpPackage() for help info.'
|
des = 'Macro to get help about SAS package, version 20250729. Run %helpPackage() for help info.'
|
||||||
;
|
;
|
||||||
%if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then
|
%if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then
|
||||||
%do;
|
%do;
|
||||||
@@ -43,7 +43,7 @@ des = 'Macro to get help about SAS package, version 20250728. Run %helpPackage()
|
|||||||
%put ### This is short help information for the `helpPackage` macro #;
|
%put ### This is short help information for the `helpPackage` macro #;
|
||||||
%put #-------------------------------------------------------------------------------#;
|
%put #-------------------------------------------------------------------------------#;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # Macro to get help about SAS packages, version `20250728` #;
|
%put # Macro to get help about SAS packages, version `20250729` #;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # A SAS package is a zip file containing a group #;
|
%put # A SAS package is a zip file containing a group #;
|
||||||
%put # of SAS codes (macros, functions, data steps generating #;
|
%put # of SAS codes (macros, functions, data steps generating #;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*+installPackage+*/
|
/*+installPackage+*/
|
||||||
/* Macros to install SAS packages, version 20250728 */
|
/* Macros to install SAS packages, version 20250729 */
|
||||||
/* A SAS package is a zip file containing a group of files
|
/* A SAS package is a zip file containing a group of files
|
||||||
with SAS code (macros, functions, data steps generating
|
with SAS code (macros, functions, data steps generating
|
||||||
data, etc.) wrapped up together and %INCLUDEed by
|
data, etc.) wrapped up together and %INCLUDEed by
|
||||||
@@ -21,11 +21,12 @@
|
|||||||
, instDoc=0 /* should the markdown file with documentation be installed?
|
, instDoc=0 /* should the markdown file with documentation be installed?
|
||||||
default is 0 - means No, 1 means Yes */
|
default is 0 - means No, 1 means Yes */
|
||||||
, SFRCVN = /* name of a macro variable to store success-failure return code value */
|
, SFRCVN = /* name of a macro variable to store success-failure return code value */
|
||||||
|
, github = /* name of a user or an organization in GitHub, all characters except [A-z0-9_.-] are compressed */
|
||||||
)
|
)
|
||||||
/secure
|
/secure
|
||||||
minoperator
|
minoperator
|
||||||
/*** HELP END ***/
|
/*** HELP END ***/
|
||||||
des = 'Macro to install SAS package, version 20250728. Run %%installPackage() for help info.'
|
des = 'Macro to install SAS package, version 20250729. Run %%installPackage() for help info.'
|
||||||
;
|
;
|
||||||
%if (%superq(packagesNames) = ) OR (%qupcase(&packagesNames.) = HELP) %then
|
%if (%superq(packagesNames) = ) OR (%qupcase(&packagesNames.) = HELP) %then
|
||||||
%do;
|
%do;
|
||||||
@@ -40,7 +41,7 @@ des = 'Macro to install SAS package, version 20250728. Run %%installPackage() fo
|
|||||||
%put ### This is short help information for the `installPackage` macro #;
|
%put ### This is short help information for the `installPackage` macro #;
|
||||||
%put #--------------------------------------------------------------------------------------------#;;
|
%put #--------------------------------------------------------------------------------------------#;;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # Macro to install SAS packages, version `20250728` #;
|
%put # Macro to install SAS packages, version `20250729` #;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # A SAS package is a zip file containing a group #;
|
%put # A SAS package is a zip file containing a group #;
|
||||||
%put # of SAS codes (macros, functions, data steps generating #;
|
%put # of SAS codes (macros, functions, data steps generating #;
|
||||||
@@ -86,10 +87,10 @@ des = 'Macro to install SAS package, version 20250728. Run %%installPackage() fo
|
|||||||
%put # - `version=` Indicates which historical version of a package to install. #;
|
%put # - `version=` Indicates which historical version of a package to install. #;
|
||||||
%put # Historical version are currently available only if `mirror=0` is set. #;
|
%put # Historical version are currently available only if `mirror=0` is set. #;
|
||||||
%put # Default value is null which means "install the latest". #;
|
%put # Default value is null which means "install the latest". #;
|
||||||
%put # When there are multiple packages to install version variable #;
|
%put # When there are multiple packages to install the `version` variable #;
|
||||||
%put # is scan sequentially. #;
|
%put # is scan sequentially. #;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # - `replace=` With default value of `1` it causes existing package file #;
|
%put # - `replace=` With default value of `1`, it causes existing package file 0 #;
|
||||||
%put # to be replaced by new downloaded file. #;
|
%put # to be replaced by new downloaded file. #;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # - `URLuser=` A user name for the password protected URLs, no quotes needed. #;
|
%put # - `URLuser=` A user name for the password protected URLs, no quotes needed. #;
|
||||||
@@ -116,6 +117,11 @@ des = 'Macro to install SAS package, version 20250728. Run %%installPackage() fo
|
|||||||
%put # has the following form: `<number of successes>.<number of failures>` #;
|
%put # has the following form: `<number of successes>.<number of failures>` #;
|
||||||
%put # The macro variable is created as a *global* macro variable. #;
|
%put # The macro variable is created as a *global* macro variable. #;
|
||||||
%put # #;
|
%put # #;
|
||||||
|
%put # - `github=` *Optional.* A name of a user or an organization in GitHub. #;
|
||||||
|
%put # Allows an easy set of the search path for packages available on GitHub: #;
|
||||||
|
%put # `https://github.com/<github>/<packagename>/raw/.../` #;
|
||||||
|
%put # All characters except `[A-z0-9_.-]` are compressed. #;
|
||||||
|
%put # #;
|
||||||
%put #--------------------------------------------------------------------------------------------#;
|
%put #--------------------------------------------------------------------------------------------#;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # Visit: `https://github.com/yabwon/SAS_PACKAGES/tree/main/SPF/Documentation` #;
|
%put # Visit: `https://github.com/yabwon/SAS_PACKAGES/tree/main/SPF/Documentation` #;
|
||||||
@@ -207,8 +213,9 @@ des = 'Macro to install SAS package, version 20250728. Run %%installPackage() fo
|
|||||||
|
|
||||||
%if %qupcase(%superq(mirror))=SASPAC %then %let mirror = 0;
|
%if %qupcase(%superq(mirror))=SASPAC %then %let mirror = 0;
|
||||||
%if %qupcase(%superq(mirror))=PHARMAFOREST %then %let mirror = 3;
|
%if %qupcase(%superq(mirror))=PHARMAFOREST %then %let mirror = 3;
|
||||||
|
%if %superq(github) NE %then %let mirror = 4;
|
||||||
|
|
||||||
%if NOT (%superq(mirror) IN (0 1 2 3)) %then
|
%if NOT (%superq(mirror) IN (0 1 2 3 4)) %then
|
||||||
%do;
|
%do;
|
||||||
%put WARNING: Unknown mirror: %superq(mirror)!;
|
%put WARNING: Unknown mirror: %superq(mirror)!;
|
||||||
%put WARNING- Default will be used.;
|
%put WARNING- Default will be used.;
|
||||||
@@ -248,6 +255,17 @@ des = 'Macro to install SAS package, version 20250728. Run %%installPackage() fo
|
|||||||
%goto mirrorEnd;
|
%goto mirrorEnd;
|
||||||
%end;
|
%end;
|
||||||
|
|
||||||
|
%if 4 = %superq(mirror) %then
|
||||||
|
%do;
|
||||||
|
%let SPFinitMirror = https://raw.githubusercontent.com/yabwon/SAS_PACKAGES/main/SPF/SPFinit.sas;
|
||||||
|
%let SPFinitMirrorMD = https://raw.githubusercontent.com/yabwon/SAS_PACKAGES/main/SPF/SPFinit.md;
|
||||||
|
/* ingnore version support for pharmaForest for now */
|
||||||
|
%let github = %sysfunc(compress(%superq(github),%str(,.-),KAD));
|
||||||
|
%put INFO: GitHub location used is: %superq(github).;
|
||||||
|
%let sourcePath = https://github.com/&github./; /*users content*/
|
||||||
|
%goto mirrorEnd;
|
||||||
|
%end;
|
||||||
|
|
||||||
%mirrorEnd:
|
%mirrorEnd:
|
||||||
%put INFO: Source path is &sourcePath.;
|
%put INFO: Source path is &sourcePath.;
|
||||||
%end;
|
%end;
|
||||||
@@ -343,7 +361,7 @@ des = 'Macro to install SAS package, version 20250728. Run %%installPackage() fo
|
|||||||
%end;
|
%end;
|
||||||
%else
|
%else
|
||||||
%do;
|
%do;
|
||||||
%if %superq(mirror) IN (0 3) %then /* SASPAC or PharmaForest */
|
%if %superq(mirror) IN (0 3 4) %then /* SASPAC or PharmaForest or an arbitrary GitHub repo */
|
||||||
%do;
|
%do;
|
||||||
%let packageSubDir = %sysfunc(lowcase(&packageName.))/raw/main/;
|
%let packageSubDir = %sysfunc(lowcase(&packageName.))/raw/main/;
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Macro to list SAS packages in packages folder.
|
Macro to list SAS packages in packages folder.
|
||||||
|
|
||||||
Version 20250728
|
Version 20250729
|
||||||
|
|
||||||
A SAS package is a zip file containing a group
|
A SAS package is a zip file containing a group
|
||||||
of SAS codes (macros, functions, data steps generating
|
of SAS codes (macros, functions, data steps generating
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
%macro listPackages()
|
%macro listPackages()
|
||||||
/secure PARMBUFF
|
/secure PARMBUFF
|
||||||
des = 'Macro to list SAS packages from `packages` fileref, type %listPackages(HELP) for help, version 20250728.'
|
des = 'Macro to list SAS packages from `packages` fileref, type %listPackages(HELP) for help, version 20250729.'
|
||||||
;
|
;
|
||||||
%if %QUPCASE(&SYSPBUFF.) = %str(%(HELP%)) %then
|
%if %QUPCASE(&SYSPBUFF.) = %str(%(HELP%)) %then
|
||||||
%do;
|
%do;
|
||||||
@@ -38,7 +38,7 @@ des = 'Macro to list SAS packages from `packages` fileref, type %listPackages(HE
|
|||||||
%put ### This is short help information for the `listPackages` macro #;
|
%put ### This is short help information for the `listPackages` macro #;
|
||||||
%put #-----------------------------------------------------------------------------------------#;;
|
%put #-----------------------------------------------------------------------------------------#;;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # Macro to list available SAS packages, version `20250728` #;
|
%put # Macro to list available SAS packages, version `20250729` #;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # A SAS package is a zip file containing a group #;
|
%put # A SAS package is a zip file containing a group #;
|
||||||
%put # of SAS codes (macros, functions, data steps generating #;
|
%put # of SAS codes (macros, functions, data steps generating #;
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
*/
|
*/
|
||||||
)/secure
|
)/secure
|
||||||
/*** HELP END ***/
|
/*** HELP END ***/
|
||||||
des = 'Macro to load SAS package, version 20250728. Run %loadPackage() for help info.'
|
des = 'Macro to load SAS package, version 20250729. Run %loadPackage() for help info.'
|
||||||
minoperator
|
minoperator
|
||||||
;
|
;
|
||||||
%if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then
|
%if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then
|
||||||
@@ -52,7 +52,7 @@ minoperator
|
|||||||
%put ### This is short help information for the `loadPackage` macro #;
|
%put ### This is short help information for the `loadPackage` macro #;
|
||||||
%put #-------------------------------------------------------------------------------#;
|
%put #-------------------------------------------------------------------------------#;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # Macro to *load* SAS packages, version `20250728` #;
|
%put # Macro to *load* SAS packages, version `20250729` #;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # A SAS package is a zip file containing a group #;
|
%put # A SAS package is a zip file containing a group #;
|
||||||
%put # of SAS codes (macros, functions, data steps generating #;
|
%put # of SAS codes (macros, functions, data steps generating #;
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
is provided in required version */
|
is provided in required version */
|
||||||
)/secure
|
)/secure
|
||||||
/*** HELP END ***/
|
/*** HELP END ***/
|
||||||
des = 'Macro to load additional content for a SAS package, version 20250728. Run %loadPackageAddCnt() for help info.'
|
des = 'Macro to load additional content for a SAS package, version 20250729. Run %loadPackageAddCnt() for help info.'
|
||||||
minoperator
|
minoperator
|
||||||
;
|
;
|
||||||
%if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then
|
%if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then
|
||||||
@@ -35,7 +35,7 @@ minoperator
|
|||||||
%put ### This is short help information for the `loadPackageAddCnt` macro #;
|
%put ### This is short help information for the `loadPackageAddCnt` macro #;
|
||||||
%put #-------------------------------------------------------------------------------#;
|
%put #-------------------------------------------------------------------------------#;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # Macro to *load* additional content for a SAS package, version `20250728` #;
|
%put # Macro to *load* additional content for a SAS package, version `20250729` #;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # A SAS package is a zip file containing a group #;
|
%put # A SAS package is a zip file containing a group #;
|
||||||
%put # of SAS codes (macros, functions, data steps generating #;
|
%put # of SAS codes (macros, functions, data steps generating #;
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
*/
|
*/
|
||||||
)/secure
|
)/secure
|
||||||
/*** HELP END ***/
|
/*** HELP END ***/
|
||||||
des = 'Macro to load multiple SAS packages at one run, version 20250728. Run %loadPackages() for help info.'
|
des = 'Macro to load multiple SAS packages at one run, version 20250729. Run %loadPackages() for help info.'
|
||||||
parmbuff
|
parmbuff
|
||||||
;
|
;
|
||||||
%if (%superq(packagesNames) = ) OR (%qupcase(&packagesNames.) = HELP) %then
|
%if (%superq(packagesNames) = ) OR (%qupcase(&packagesNames.) = HELP) %then
|
||||||
@@ -27,7 +27,7 @@ parmbuff
|
|||||||
%put ### This is short help information for the `loadPackageS` macro #;
|
%put ### This is short help information for the `loadPackageS` macro #;
|
||||||
%put #-------------------------------------------------------------------------------#;
|
%put #-------------------------------------------------------------------------------#;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # Macro wrapper for the loadPackage macro, version `20250728` #;
|
%put # Macro wrapper for the loadPackage macro, version `20250729` #;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # A SAS package is a zip file containing a group #;
|
%put # A SAS package is a zip file containing a group #;
|
||||||
%put # of SAS codes (macros, functions, data steps generating #;
|
%put # of SAS codes (macros, functions, data steps generating #;
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
*/
|
*/
|
||||||
)/secure
|
)/secure
|
||||||
/*** HELP END ***/
|
/*** HELP END ***/
|
||||||
des = 'Macro to preview content of a SAS package, version 20250728. Run %previewPackage() for help info.'
|
des = 'Macro to preview content of a SAS package, version 20250729. Run %previewPackage() for help info.'
|
||||||
;
|
;
|
||||||
%if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then
|
%if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then
|
||||||
%do;
|
%do;
|
||||||
@@ -38,7 +38,7 @@ des = 'Macro to preview content of a SAS package, version 20250728. Run %preview
|
|||||||
%put ### This is short help information for the `previewPackage` macro #;
|
%put ### This is short help information for the `previewPackage` macro #;
|
||||||
%put #-------------------------------------------------------------------------------#;
|
%put #-------------------------------------------------------------------------------#;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # Macro to get preview of a SAS packages, version `20250728` #;
|
%put # Macro to get preview of a SAS packages, version `20250729` #;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # A SAS package is a zip file containing a group #;
|
%put # A SAS package is a zip file containing a group #;
|
||||||
%put # of SAS codes (macros, functions, data steps generating #;
|
%put # of SAS codes (macros, functions, data steps generating #;
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
,nobs=0 /* technical parameter */
|
,nobs=0 /* technical parameter */
|
||||||
)
|
)
|
||||||
/*** HELP START ***/
|
/*** HELP START ***/
|
||||||
/ des = 'Utility macro to split "one big" code into multiple files for a SAS package, version 20250728. Run %splitCodeForPackage() for help info.'
|
/ des = 'Utility macro to split "one big" code into multiple files for a SAS package, version 20250729. Run %splitCodeForPackage() for help info.'
|
||||||
;
|
;
|
||||||
/*%macro _();%mend _;*/
|
/*%macro _();%mend _;*/
|
||||||
%if (%superq(codeFile) = ) OR (%qupcase(&codeFile.) = HELP) %then
|
%if (%superq(codeFile) = ) OR (%qupcase(&codeFile.) = HELP) %then
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
%put #-------------------------------------------------------------------------------#;
|
%put #-------------------------------------------------------------------------------#;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # Utility macro to *split* single file with SAS package code into multiple #;
|
%put # Utility macro to *split* single file with SAS package code into multiple #;
|
||||||
%put # files with separate snippets, version `20250728` #;
|
%put # files with separate snippets, version `20250729` #;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # A SAS package is a zip file containing a group #;
|
%put # A SAS package is a zip file containing a group #;
|
||||||
%put # of SAS codes (macros, functions, data steps generating #;
|
%put # of SAS codes (macros, functions, data steps generating #;
|
||||||
@@ -403,7 +403,7 @@ options nomprint nosymbolgen nomlogic notes source ls=MAX ps=MAX msglevel=N ;
|
|||||||
*/
|
*/
|
||||||
if firstLine[j] then
|
if firstLine[j] then
|
||||||
do;
|
do;
|
||||||
put '/* File generated with help of SAS Packages Framework, version 20250728. */';
|
put '/* File generated with help of SAS Packages Framework, version 20250729. */';
|
||||||
firstLine[j]=0;
|
firstLine[j]=0;
|
||||||
end;
|
end;
|
||||||
put _infile_;
|
put _infile_;
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
)/secure
|
)/secure
|
||||||
/*** HELP END ***/
|
/*** HELP END ***/
|
||||||
des = 'Macro to unload SAS package, version 20250728. Run %unloadPackage() for help info.'
|
des = 'Macro to unload SAS package, version 20250729. Run %unloadPackage() for help info.'
|
||||||
;
|
;
|
||||||
%if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then
|
%if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then
|
||||||
%do;
|
%do;
|
||||||
@@ -35,7 +35,7 @@ des = 'Macro to unload SAS package, version 20250728. Run %unloadPackage() for h
|
|||||||
%put ### This is short help information for the `unloadPackage` macro #;
|
%put ### This is short help information for the `unloadPackage` macro #;
|
||||||
%put #-------------------------------------------------------------------------------#;
|
%put #-------------------------------------------------------------------------------#;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # Macro to unload SAS packages, version `20250728` #;
|
%put # Macro to unload SAS packages, version `20250729` #;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # A SAS package is a zip file containing a group #;
|
%put # A SAS package is a zip file containing a group #;
|
||||||
%put # of SAS codes (macros, functions, data steps generating #;
|
%put # of SAS codes (macros, functions, data steps generating #;
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
hashing_file() function, SAS 9.4M6 */
|
hashing_file() function, SAS 9.4M6 */
|
||||||
)/secure
|
)/secure
|
||||||
/*** HELP END ***/
|
/*** HELP END ***/
|
||||||
des = 'Macro to verify SAS package with the hash digest, version 20250728. Run %verifyPackage() for help info.'
|
des = 'Macro to verify SAS package with the hash digest, version 20250729. Run %verifyPackage() for help info.'
|
||||||
;
|
;
|
||||||
%if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then
|
%if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then
|
||||||
%do;
|
%do;
|
||||||
@@ -28,7 +28,7 @@ des = 'Macro to verify SAS package with the hash digest, version 20250728. Run %
|
|||||||
%put ### This is short help information for the `verifyPackage` macro #;
|
%put ### This is short help information for the `verifyPackage` macro #;
|
||||||
%put #-------------------------------------------------------------------------------#;
|
%put #-------------------------------------------------------------------------------#;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # Macro to verify SAS package with it hash digest, version `20250728` #;
|
%put # Macro to verify SAS package with it hash digest, version `20250729` #;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # A SAS package is a zip file containing a group #;
|
%put # A SAS package is a zip file containing a group #;
|
||||||
%put # of SAS codes (macros, functions, data steps generating #;
|
%put # of SAS codes (macros, functions, data steps generating #;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
# SAS Packages Framework, version `20250728`
|
# SAS Packages Framework, version `20250729`
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -29,7 +29,7 @@ A **SAS package** is an automatically generated, single, stand alone *zip* file
|
|||||||
|
|
||||||
The *purpose of a package* is to be a simple, and easy to access, code sharing medium, which will allow: on the one hand, to separate the code complex dependencies created by the developer from the user experience with the final product and, on the other hand, reduce developer's and user's unnecessary frustration related to a remote deployment process.
|
The *purpose of a package* is to be a simple, and easy to access, code sharing medium, which will allow: on the one hand, to separate the code complex dependencies created by the developer from the user experience with the final product and, on the other hand, reduce developer's and user's unnecessary frustration related to a remote deployment process.
|
||||||
|
|
||||||
In this repository we are presenting the **SAS Packages Framework** which allows to develop and use SAS packages. The latest version of SPF is **`20250728`**.
|
In this repository we are presenting the **SAS Packages Framework** which allows to develop and use SAS packages. The latest version of SPF is **`20250729`**.
|
||||||
|
|
||||||
**To get started with SAS Packages** try this [**`Getting Started with SAS Packages`**](https://github.com/yabwon/SAS_PACKAGES/blob/main/SPF/Documentation/Getting_Started_with_SAS_Packages.pdf "Getting Started with SAS Packages") presentation (see the `./SPF/Documentation` directory).
|
**To get started with SAS Packages** try this [**`Getting Started with SAS Packages`**](https://github.com/yabwon/SAS_PACKAGES/blob/main/SPF/Documentation/Getting_Started_with_SAS_Packages.pdf "Getting Started with SAS Packages") presentation (see the `./SPF/Documentation` directory).
|
||||||
|
|
||||||
@@ -52,7 +52,7 @@ them using the SPF can be found [**HERE**](https://github.com/yabwon/HoW-SASPack
|
|||||||
## This is short help information for the `installPackage` macro <a name="installpackage"></a>
|
## This is short help information for the `installPackage` macro <a name="installpackage"></a>
|
||||||
--------------------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
Macro to install SAS packages, version `20250728`
|
Macro to install SAS packages, version `20250729`
|
||||||
|
|
||||||
A SAS package is a zip file containing a group
|
A SAS package is a zip file containing a group
|
||||||
of SAS codes (macros, functions, data steps generating
|
of SAS codes (macros, functions, data steps generating
|
||||||
@@ -127,6 +127,11 @@ them using the SPF can be found [**HERE**](https://github.com/yabwon/HoW-SASPack
|
|||||||
has the following form: `<number of successes>.<number of failures>`
|
has the following form: `<number of successes>.<number of failures>`
|
||||||
The macro variable is created as a *global* macro variable.
|
The macro variable is created as a *global* macro variable.
|
||||||
|
|
||||||
|
- `github=` *Optional.* A name of a user or an organization in GitHub.
|
||||||
|
Allows an easy set of the search path for packages available on GitHub:
|
||||||
|
`https://github.com/<github>/<packagename>/raw/.../`
|
||||||
|
All characters except `[A-z0-9_.-]` are compressed.
|
||||||
|
|
||||||
--------------------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
Visit: `https://github.com/yabwon/SAS_PACKAGES/tree/main/SPF/Documentation` to learn more.
|
Visit: `https://github.com/yabwon/SAS_PACKAGES/tree/main/SPF/Documentation` to learn more.
|
||||||
@@ -175,7 +180,7 @@ filename packages "C:/SAS_PACKAGES";
|
|||||||
## This is short help information for the `helpPackage` macro <a name="helppackage"></a>
|
## This is short help information for the `helpPackage` macro <a name="helppackage"></a>
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
|
||||||
Macro to get help about SAS packages, version `20250728`
|
Macro to get help about SAS packages, version `20250729`
|
||||||
|
|
||||||
A SAS package is a zip file containing a group
|
A SAS package is a zip file containing a group
|
||||||
of SAS codes (macros, functions, data steps generating
|
of SAS codes (macros, functions, data steps generating
|
||||||
@@ -253,7 +258,7 @@ filename packages "C:/SAS_PACKAGES"; %* setup a directory for packages;
|
|||||||
## This is short help information for the `loadPackage` macro <a name="loadpackage"></a>
|
## This is short help information for the `loadPackage` macro <a name="loadpackage"></a>
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
|
||||||
Macro to *load* SAS packages, version `20250728`
|
Macro to *load* SAS packages, version `20250729`
|
||||||
|
|
||||||
A SAS package is a zip file containing a group
|
A SAS package is a zip file containing a group
|
||||||
of SAS codes (macros, functions, data steps generating
|
of SAS codes (macros, functions, data steps generating
|
||||||
@@ -411,7 +416,7 @@ If created, those macros are automatically deleted when the `%unloadPackage()` m
|
|||||||
## This is short help information for the `loadPackageS` macro <a name="loadpackages"></a>
|
## This is short help information for the `loadPackageS` macro <a name="loadpackages"></a>
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
|
||||||
Macro wrapper for the loadPackage macro, version `20250728`
|
Macro wrapper for the loadPackage macro, version `20250729`
|
||||||
|
|
||||||
A SAS package is a zip file containing a group
|
A SAS package is a zip file containing a group
|
||||||
of SAS codes (macros, functions, data steps generating
|
of SAS codes (macros, functions, data steps generating
|
||||||
@@ -462,7 +467,7 @@ filename packages "C:/SAS_PACKAGES"; %* setup a directory for packages;
|
|||||||
## This is short help information for the `unloadPackage` macro <a name="unloadpackage"></a>
|
## This is short help information for the `unloadPackage` macro <a name="unloadpackage"></a>
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
|
||||||
Macro to unload SAS packages, version `20250728`
|
Macro to unload SAS packages, version `20250729`
|
||||||
|
|
||||||
A SAS package is a zip file containing a group
|
A SAS package is a zip file containing a group
|
||||||
of SAS codes (macros, functions, data steps generating
|
of SAS codes (macros, functions, data steps generating
|
||||||
@@ -529,7 +534,7 @@ filename packages "C:/SAS_PACKAGES"; %* setup a directory for packages;
|
|||||||
## This is short help information for the `listPackages` macro <a name="listpackages"></a>
|
## This is short help information for the `listPackages` macro <a name="listpackages"></a>
|
||||||
-----------------------------------------------------------------------------------------
|
-----------------------------------------------------------------------------------------
|
||||||
|
|
||||||
Macro to list available SAS packages, version `20250728`
|
Macro to list available SAS packages, version `20250729`
|
||||||
|
|
||||||
A SAS package is a zip file containing a group
|
A SAS package is a zip file containing a group
|
||||||
of SAS codes (macros, functions, data steps generating
|
of SAS codes (macros, functions, data steps generating
|
||||||
@@ -572,7 +577,7 @@ filename packages "C:/SAS_PACKAGES"; %* setup a directory for packages;
|
|||||||
## This is short help information for the `verifyPackage` macro <a name="verifypackage"></a>
|
## This is short help information for the `verifyPackage` macro <a name="verifypackage"></a>
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
|
||||||
Macro to verify SAS package with it hash digest, version `20250728`
|
Macro to verify SAS package with it hash digest, version `20250729`
|
||||||
|
|
||||||
A SAS package is a zip file containing a group
|
A SAS package is a zip file containing a group
|
||||||
of SAS codes (macros, functions, data steps generating
|
of SAS codes (macros, functions, data steps generating
|
||||||
@@ -626,7 +631,7 @@ filename packages "C:/SAS_PACKAGES"; %* set-up a directory for packages;
|
|||||||
## This is short help information for the `previewPackage` macro <a name="previewpackage"></a>
|
## This is short help information for the `previewPackage` macro <a name="previewpackage"></a>
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
|
||||||
Macro to get preview of a SAS packages, version `20250728`
|
Macro to get preview of a SAS packages, version `20250729`
|
||||||
|
|
||||||
A SAS package is a zip file containing a group
|
A SAS package is a zip file containing a group
|
||||||
of SAS codes (macros, functions, data steps generating
|
of SAS codes (macros, functions, data steps generating
|
||||||
@@ -695,7 +700,7 @@ filename packages "C:/SAS_PACKAGES"; %* setup a directory for packages;
|
|||||||
## This is short help information for the `generatePackage` macro <a name="generatepackage"></a>
|
## This is short help information for the `generatePackage` macro <a name="generatepackage"></a>
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
|
||||||
Macro to generate SAS packages, version `20250728`
|
Macro to generate SAS packages, version `20250729`
|
||||||
|
|
||||||
A SAS package is a zip file containing a group
|
A SAS package is a zip file containing a group
|
||||||
of SAS codes (macros, functions, data steps generating
|
of SAS codes (macros, functions, data steps generating
|
||||||
@@ -910,7 +915,7 @@ All files have to have `.sas` extension. Other files are ignored.
|
|||||||
## This is short help information for the `extendPackagesFileref` macro <a name="extendpackagesfileref"></a>
|
## This is short help information for the `extendPackagesFileref` macro <a name="extendpackagesfileref"></a>
|
||||||
-----------------------------------------------------------------------------------------
|
-----------------------------------------------------------------------------------------
|
||||||
|
|
||||||
Macro to list directories pointed by 'packages' fileref, version `20250728`
|
Macro to list directories pointed by 'packages' fileref, version `20250729`
|
||||||
|
|
||||||
A SAS package is a zip file containing a group
|
A SAS package is a zip file containing a group
|
||||||
of SAS codes (macros, functions, data steps generating
|
of SAS codes (macros, functions, data steps generating
|
||||||
@@ -952,7 +957,7 @@ filename packages ("D:/NEW_DIR" %extendPackagesFileref()); %* add new directory;
|
|||||||
## This is short help information for the `loadPackageAddCnt` macro <a name="loadpackageaddcnt"></a>
|
## This is short help information for the `loadPackageAddCnt` macro <a name="loadpackageaddcnt"></a>
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
|
||||||
Macro to load *additional content* for a SAS package, version `20250728`
|
Macro to load *additional content* for a SAS package, version `20250729`
|
||||||
|
|
||||||
A SAS package is a zip file containing a group
|
A SAS package is a zip file containing a group
|
||||||
of SAS codes (macros, functions, data steps generating
|
of SAS codes (macros, functions, data steps generating
|
||||||
@@ -1046,7 +1051,7 @@ filename packages "C:/SAS_PACKAGES"; %* setup a directory for packages;
|
|||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
|
||||||
Utility macro to *split* single file with SAS package code into multiple
|
Utility macro to *split* single file with SAS package code into multiple
|
||||||
files with separate snippets, version `20250728`
|
files with separate snippets, version `20250729`
|
||||||
|
|
||||||
A SAS package is a zip file containing a group
|
A SAS package is a zip file containing a group
|
||||||
of SAS codes (macros, functions, data steps generating
|
of SAS codes (macros, functions, data steps generating
|
||||||
|
|||||||
@@ -42,7 +42,7 @@
|
|||||||
- to unload, or
|
- to unload, or
|
||||||
- to generate SAS packages.
|
- to generate SAS packages.
|
||||||
|
|
||||||
Version 20250728.
|
Version 20250729.
|
||||||
See examples below.
|
See examples below.
|
||||||
|
|
||||||
A SAS package is a zip file containing a group of files
|
A SAS package is a zip file containing a group of files
|
||||||
@@ -91,7 +91,7 @@
|
|||||||
*/
|
*/
|
||||||
)/secure
|
)/secure
|
||||||
/*** HELP END ***/
|
/*** HELP END ***/
|
||||||
des = 'Macro to load SAS package, version 20250728. Run %loadPackage() for help info.'
|
des = 'Macro to load SAS package, version 20250729. Run %loadPackage() for help info.'
|
||||||
minoperator
|
minoperator
|
||||||
;
|
;
|
||||||
%if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then
|
%if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then
|
||||||
@@ -107,7 +107,7 @@ minoperator
|
|||||||
%put ### This is short help information for the `loadPackage` macro #;
|
%put ### This is short help information for the `loadPackage` macro #;
|
||||||
%put #-------------------------------------------------------------------------------#;
|
%put #-------------------------------------------------------------------------------#;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # Macro to *load* SAS packages, version `20250728` #;
|
%put # Macro to *load* SAS packages, version `20250729` #;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # A SAS package is a zip file containing a group #;
|
%put # A SAS package is a zip file containing a group #;
|
||||||
%put # of SAS codes (macros, functions, data steps generating #;
|
%put # of SAS codes (macros, functions, data steps generating #;
|
||||||
@@ -384,7 +384,7 @@ minoperator
|
|||||||
*/
|
*/
|
||||||
)/secure
|
)/secure
|
||||||
/*** HELP END ***/
|
/*** HELP END ***/
|
||||||
des = 'Macro to unload SAS package, version 20250728. Run %unloadPackage() for help info.'
|
des = 'Macro to unload SAS package, version 20250729. Run %unloadPackage() for help info.'
|
||||||
;
|
;
|
||||||
%if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then
|
%if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then
|
||||||
%do;
|
%do;
|
||||||
@@ -399,7 +399,7 @@ des = 'Macro to unload SAS package, version 20250728. Run %unloadPackage() for h
|
|||||||
%put ### This is short help information for the `unloadPackage` macro #;
|
%put ### This is short help information for the `unloadPackage` macro #;
|
||||||
%put #-------------------------------------------------------------------------------#;
|
%put #-------------------------------------------------------------------------------#;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # Macro to unload SAS packages, version `20250728` #;
|
%put # Macro to unload SAS packages, version `20250729` #;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # A SAS package is a zip file containing a group #;
|
%put # A SAS package is a zip file containing a group #;
|
||||||
%put # of SAS codes (macros, functions, data steps generating #;
|
%put # of SAS codes (macros, functions, data steps generating #;
|
||||||
@@ -552,7 +552,7 @@ des = 'Macro to unload SAS package, version 20250728. Run %unloadPackage() for h
|
|||||||
*/
|
*/
|
||||||
)/secure
|
)/secure
|
||||||
/*** HELP END ***/
|
/*** HELP END ***/
|
||||||
des = 'Macro to get help about SAS package, version 20250728. Run %helpPackage() for help info.'
|
des = 'Macro to get help about SAS package, version 20250729. Run %helpPackage() for help info.'
|
||||||
;
|
;
|
||||||
%if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then
|
%if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then
|
||||||
%do;
|
%do;
|
||||||
@@ -567,7 +567,7 @@ des = 'Macro to get help about SAS package, version 20250728. Run %helpPackage()
|
|||||||
%put ### This is short help information for the `helpPackage` macro #;
|
%put ### This is short help information for the `helpPackage` macro #;
|
||||||
%put #-------------------------------------------------------------------------------#;
|
%put #-------------------------------------------------------------------------------#;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # Macro to get help about SAS packages, version `20250728` #;
|
%put # Macro to get help about SAS packages, version `20250729` #;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # A SAS package is a zip file containing a group #;
|
%put # A SAS package is a zip file containing a group #;
|
||||||
%put # of SAS codes (macros, functions, data steps generating #;
|
%put # of SAS codes (macros, functions, data steps generating #;
|
||||||
@@ -710,7 +710,7 @@ TODO:
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*+installPackage+*/
|
/*+installPackage+*/
|
||||||
/* Macros to install SAS packages, version 20250728 */
|
/* Macros to install SAS packages, version 20250729 */
|
||||||
/* A SAS package is a zip file containing a group of files
|
/* A SAS package is a zip file containing a group of files
|
||||||
with SAS code (macros, functions, data steps generating
|
with SAS code (macros, functions, data steps generating
|
||||||
data, etc.) wrapped up together and %INCLUDEed by
|
data, etc.) wrapped up together and %INCLUDEed by
|
||||||
@@ -732,11 +732,12 @@ TODO:
|
|||||||
, instDoc=0 /* should the markdown file with documentation be installed?
|
, instDoc=0 /* should the markdown file with documentation be installed?
|
||||||
default is 0 - means No, 1 means Yes */
|
default is 0 - means No, 1 means Yes */
|
||||||
, SFRCVN = /* name of a macro variable to store success-failure return code value */
|
, SFRCVN = /* name of a macro variable to store success-failure return code value */
|
||||||
|
, github = /* name of a user or an organization in GitHub, all characters except [A-z0-9_.-] are compressed */
|
||||||
)
|
)
|
||||||
/secure
|
/secure
|
||||||
minoperator
|
minoperator
|
||||||
/*** HELP END ***/
|
/*** HELP END ***/
|
||||||
des = 'Macro to install SAS package, version 20250728. Run %%installPackage() for help info.'
|
des = 'Macro to install SAS package, version 20250729. Run %%installPackage() for help info.'
|
||||||
;
|
;
|
||||||
%if (%superq(packagesNames) = ) OR (%qupcase(&packagesNames.) = HELP) %then
|
%if (%superq(packagesNames) = ) OR (%qupcase(&packagesNames.) = HELP) %then
|
||||||
%do;
|
%do;
|
||||||
@@ -751,7 +752,7 @@ des = 'Macro to install SAS package, version 20250728. Run %%installPackage() fo
|
|||||||
%put ### This is short help information for the `installPackage` macro #;
|
%put ### This is short help information for the `installPackage` macro #;
|
||||||
%put #--------------------------------------------------------------------------------------------#;;
|
%put #--------------------------------------------------------------------------------------------#;;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # Macro to install SAS packages, version `20250728` #;
|
%put # Macro to install SAS packages, version `20250729` #;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # A SAS package is a zip file containing a group #;
|
%put # A SAS package is a zip file containing a group #;
|
||||||
%put # of SAS codes (macros, functions, data steps generating #;
|
%put # of SAS codes (macros, functions, data steps generating #;
|
||||||
@@ -797,10 +798,10 @@ des = 'Macro to install SAS package, version 20250728. Run %%installPackage() fo
|
|||||||
%put # - `version=` Indicates which historical version of a package to install. #;
|
%put # - `version=` Indicates which historical version of a package to install. #;
|
||||||
%put # Historical version are currently available only if `mirror=0` is set. #;
|
%put # Historical version are currently available only if `mirror=0` is set. #;
|
||||||
%put # Default value is null which means "install the latest". #;
|
%put # Default value is null which means "install the latest". #;
|
||||||
%put # When there are multiple packages to install version variable #;
|
%put # When there are multiple packages to install the `version` variable #;
|
||||||
%put # is scan sequentially. #;
|
%put # is scan sequentially. #;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # - `replace=` With default value of `1` it causes existing package file #;
|
%put # - `replace=` With default value of `1`, it causes existing package file 0 #;
|
||||||
%put # to be replaced by new downloaded file. #;
|
%put # to be replaced by new downloaded file. #;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # - `URLuser=` A user name for the password protected URLs, no quotes needed. #;
|
%put # - `URLuser=` A user name for the password protected URLs, no quotes needed. #;
|
||||||
@@ -827,6 +828,11 @@ des = 'Macro to install SAS package, version 20250728. Run %%installPackage() fo
|
|||||||
%put # has the following form: `<number of successes>.<number of failures>` #;
|
%put # has the following form: `<number of successes>.<number of failures>` #;
|
||||||
%put # The macro variable is created as a *global* macro variable. #;
|
%put # The macro variable is created as a *global* macro variable. #;
|
||||||
%put # #;
|
%put # #;
|
||||||
|
%put # - `github=` *Optional.* A name of a user or an organization in GitHub. #;
|
||||||
|
%put # Allows an easy set of the search path for packages available on GitHub: #;
|
||||||
|
%put # `https://github.com/<github>/<packagename>/raw/.../` #;
|
||||||
|
%put # All characters except `[A-z0-9_.-]` are compressed. #;
|
||||||
|
%put # #;
|
||||||
%put #--------------------------------------------------------------------------------------------#;
|
%put #--------------------------------------------------------------------------------------------#;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # Visit: `https://github.com/yabwon/SAS_PACKAGES/tree/main/SPF/Documentation` #;
|
%put # Visit: `https://github.com/yabwon/SAS_PACKAGES/tree/main/SPF/Documentation` #;
|
||||||
@@ -918,8 +924,9 @@ des = 'Macro to install SAS package, version 20250728. Run %%installPackage() fo
|
|||||||
|
|
||||||
%if %qupcase(%superq(mirror))=SASPAC %then %let mirror = 0;
|
%if %qupcase(%superq(mirror))=SASPAC %then %let mirror = 0;
|
||||||
%if %qupcase(%superq(mirror))=PHARMAFOREST %then %let mirror = 3;
|
%if %qupcase(%superq(mirror))=PHARMAFOREST %then %let mirror = 3;
|
||||||
|
%if %superq(github) NE %then %let mirror = 4;
|
||||||
|
|
||||||
%if NOT (%superq(mirror) IN (0 1 2 3)) %then
|
%if NOT (%superq(mirror) IN (0 1 2 3 4)) %then
|
||||||
%do;
|
%do;
|
||||||
%put WARNING: Unknown mirror: %superq(mirror)!;
|
%put WARNING: Unknown mirror: %superq(mirror)!;
|
||||||
%put WARNING- Default will be used.;
|
%put WARNING- Default will be used.;
|
||||||
@@ -959,6 +966,17 @@ des = 'Macro to install SAS package, version 20250728. Run %%installPackage() fo
|
|||||||
%goto mirrorEnd;
|
%goto mirrorEnd;
|
||||||
%end;
|
%end;
|
||||||
|
|
||||||
|
%if 4 = %superq(mirror) %then
|
||||||
|
%do;
|
||||||
|
%let SPFinitMirror = https://raw.githubusercontent.com/yabwon/SAS_PACKAGES/main/SPF/SPFinit.sas;
|
||||||
|
%let SPFinitMirrorMD = https://raw.githubusercontent.com/yabwon/SAS_PACKAGES/main/SPF/SPFinit.md;
|
||||||
|
/* ingnore version support for pharmaForest for now */
|
||||||
|
%let github = %sysfunc(compress(%superq(github),%str(,.-),KAD));
|
||||||
|
%put INFO: GitHub location used is: %superq(github).;
|
||||||
|
%let sourcePath = https://github.com/&github./; /*users content*/
|
||||||
|
%goto mirrorEnd;
|
||||||
|
%end;
|
||||||
|
|
||||||
%mirrorEnd:
|
%mirrorEnd:
|
||||||
%put INFO: Source path is &sourcePath.;
|
%put INFO: Source path is &sourcePath.;
|
||||||
%end;
|
%end;
|
||||||
@@ -1054,7 +1072,7 @@ des = 'Macro to install SAS package, version 20250728. Run %%installPackage() fo
|
|||||||
%end;
|
%end;
|
||||||
%else
|
%else
|
||||||
%do;
|
%do;
|
||||||
%if %superq(mirror) IN (0 3) %then /* SASPAC or PharmaForest */
|
%if %superq(mirror) IN (0 3 4) %then /* SASPAC or PharmaForest or an arbitrary GitHub repo */
|
||||||
%do;
|
%do;
|
||||||
%let packageSubDir = %sysfunc(lowcase(&packageName.))/raw/main/;
|
%let packageSubDir = %sysfunc(lowcase(&packageName.))/raw/main/;
|
||||||
|
|
||||||
@@ -1386,7 +1404,7 @@ des = 'Macro to install SAS package, version 20250728. Run %%installPackage() fo
|
|||||||
|
|
||||||
Macro to list SAS packages in packages folder.
|
Macro to list SAS packages in packages folder.
|
||||||
|
|
||||||
Version 20250728
|
Version 20250729
|
||||||
|
|
||||||
A SAS package is a zip file containing a group
|
A SAS package is a zip file containing a group
|
||||||
of SAS codes (macros, functions, data steps generating
|
of SAS codes (macros, functions, data steps generating
|
||||||
@@ -1406,7 +1424,7 @@ des = 'Macro to install SAS package, version 20250728. Run %%installPackage() fo
|
|||||||
|
|
||||||
%macro listPackages()
|
%macro listPackages()
|
||||||
/secure PARMBUFF
|
/secure PARMBUFF
|
||||||
des = 'Macro to list SAS packages from `packages` fileref, type %listPackages(HELP) for help, version 20250728.'
|
des = 'Macro to list SAS packages from `packages` fileref, type %listPackages(HELP) for help, version 20250729.'
|
||||||
;
|
;
|
||||||
%if %QUPCASE(&SYSPBUFF.) = %str(%(HELP%)) %then
|
%if %QUPCASE(&SYSPBUFF.) = %str(%(HELP%)) %then
|
||||||
%do;
|
%do;
|
||||||
@@ -1421,7 +1439,7 @@ des = 'Macro to list SAS packages from `packages` fileref, type %listPackages(HE
|
|||||||
%put ### This is short help information for the `listPackages` macro #;
|
%put ### This is short help information for the `listPackages` macro #;
|
||||||
%put #-----------------------------------------------------------------------------------------#;;
|
%put #-----------------------------------------------------------------------------------------#;;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # Macro to list available SAS packages, version `20250728` #;
|
%put # Macro to list available SAS packages, version `20250729` #;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # A SAS package is a zip file containing a group #;
|
%put # A SAS package is a zip file containing a group #;
|
||||||
%put # of SAS codes (macros, functions, data steps generating #;
|
%put # of SAS codes (macros, functions, data steps generating #;
|
||||||
@@ -1573,7 +1591,7 @@ options ls = &ls_tmp. ps = &ps_tmp. ¬es_tmp. &source_tmp.;
|
|||||||
|
|
||||||
Macro to generate SAS packages.
|
Macro to generate SAS packages.
|
||||||
|
|
||||||
Version 20250728
|
Version 20250729
|
||||||
|
|
||||||
A SAS package is a zip file containing a group
|
A SAS package is a zip file containing a group
|
||||||
of SAS codes (macros, functions, data steps generating
|
of SAS codes (macros, functions, data steps generating
|
||||||
@@ -1613,7 +1631,7 @@ options ls = &ls_tmp. ps = &ps_tmp. ¬es_tmp. &source_tmp.;
|
|||||||
file name be created */
|
file name be created */
|
||||||
)/ secure minoperator
|
)/ secure minoperator
|
||||||
/*** HELP END ***/
|
/*** HELP END ***/
|
||||||
des = 'Macro to generate SAS packages, version 20250728. Run %generatePackage() for help info.'
|
des = 'Macro to generate SAS packages, version 20250729. Run %generatePackage() for help info.'
|
||||||
;
|
;
|
||||||
%if (%superq(filesLocation) = ) OR (%qupcase(&filesLocation.) = HELP) %then
|
%if (%superq(filesLocation) = ) OR (%qupcase(&filesLocation.) = HELP) %then
|
||||||
%do;
|
%do;
|
||||||
@@ -1628,7 +1646,7 @@ des = 'Macro to generate SAS packages, version 20250728. Run %generatePackage()
|
|||||||
%put ### This is short help information for the `generatePackage` macro #;
|
%put ### This is short help information for the `generatePackage` macro #;
|
||||||
%put #-------------------------------------------------------------------------------#;
|
%put #-------------------------------------------------------------------------------#;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # Macro to generate SAS packages, version `20250728` #;
|
%put # Macro to generate SAS packages, version `20250729` #;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # A SAS package is a zip file containing a group #;
|
%put # A SAS package is a zip file containing a group #;
|
||||||
%put # of SAS codes (macros, functions, data steps generating #;
|
%put # of SAS codes (macros, functions, data steps generating #;
|
||||||
@@ -2443,7 +2461,7 @@ title6 "MD5 hashed fileref of package lowcase name: &_PackageFileref_.";
|
|||||||
title8 "Required SAS packages: %qsysfunc(compress(%superq(packageReqPackages),%str(%'%")))" ; /* " */
|
title8 "Required SAS packages: %qsysfunc(compress(%superq(packageReqPackages),%str(%'%")))" ; /* " */
|
||||||
%end;
|
%end;
|
||||||
|
|
||||||
footnote1 "SAS Packages Framework, version 20250728";
|
footnote1 "SAS Packages Framework, version 20250729";
|
||||||
|
|
||||||
proc print
|
proc print
|
||||||
data = &filesWithCodes.(drop=base folderRef fileRef rc folderid _abort_ fileId additionalContent)
|
data = &filesWithCodes.(drop=base folderRef fileRef rc folderid _abort_ fileId additionalContent)
|
||||||
@@ -3267,7 +3285,7 @@ data _null_;
|
|||||||
%end;
|
%end;
|
||||||
put +(-1) '`.;''' /
|
put +(-1) '`.;''' /
|
||||||
' !! '' %put The macro generated: '' !! put(dtCASLudf, E8601DT19.-L) !! ";"' /
|
' !! '' %put The macro generated: '' !! put(dtCASLudf, E8601DT19.-L) !! ";"' /
|
||||||
' !! '' %put with the SAS Packages Framework version 20250728.;''' /
|
' !! '' %put with the SAS Packages Framework version 20250729.;''' /
|
||||||
' !! '' %put ****************************************************************************;''' /
|
' !! '' %put ****************************************************************************;''' /
|
||||||
' !! '' %GOTO theEndOfTheMacro;''' /
|
' !! '' %GOTO theEndOfTheMacro;''' /
|
||||||
' !! '' %end;''' ;
|
' !! '' %end;''' ;
|
||||||
@@ -3432,7 +3450,7 @@ data _null_;
|
|||||||
%end;
|
%end;
|
||||||
put +(-1) '`.; '' !!' /
|
put +(-1) '`.; '' !!' /
|
||||||
''' %put The macro generated: ''' " !! put(dtIML, E8601DT19.-L) !! " '''; '' !!' /
|
''' %put The macro generated: ''' " !! put(dtIML, E8601DT19.-L) !! " '''; '' !!' /
|
||||||
''' %put with the SAS Packages Framework version 20250728.; '' !! ' /
|
''' %put with the SAS Packages Framework version 20250729.; '' !! ' /
|
||||||
''' %put ****************************************************************************; '' !! ' /
|
''' %put ****************************************************************************; '' !! ' /
|
||||||
''' %GOTO theEndOfTheMacro; '' !! ' /
|
''' %GOTO theEndOfTheMacro; '' !! ' /
|
||||||
''' %end; '' !! ' /
|
''' %end; '' !! ' /
|
||||||
@@ -4239,7 +4257,7 @@ data _null_;
|
|||||||
%end;
|
%end;
|
||||||
|
|
||||||
put 'put " " / @3 "--------------------------------------------------------------------" / " ";'
|
put 'put " " / @3 "--------------------------------------------------------------------" / " ";'
|
||||||
/ 'put @3 "*SAS package generated by SAS Package Framework, version `20250728`*";'
|
/ 'put @3 "*SAS package generated by SAS Package Framework, version `20250729`*";'
|
||||||
/ 'put " " / @3 "--------------------------------------------------------------------";';
|
/ 'put " " / @3 "--------------------------------------------------------------------";';
|
||||||
|
|
||||||
put 'run; ' /;
|
put 'run; ' /;
|
||||||
@@ -5277,7 +5295,7 @@ data &filesWithCodes.markdown;
|
|||||||
%end;
|
%end;
|
||||||
|
|
||||||
put " " / "--------------------------------------------------------------------" / " "
|
put " " / "--------------------------------------------------------------------" / " "
|
||||||
/ "*SAS package generated by SAS Package Framework, version `20250728`*"
|
/ "*SAS package generated by SAS Package Framework, version `20250729`*"
|
||||||
/ " " / "--------------------------------------------------------------------" / " ";
|
/ " " / "--------------------------------------------------------------------" / " ";
|
||||||
|
|
||||||
put "# The `&packageName.` package content";
|
put "# The `&packageName.` package content";
|
||||||
@@ -5555,7 +5573,7 @@ TODO: (in Polish)
|
|||||||
*/
|
*/
|
||||||
)/secure
|
)/secure
|
||||||
/*** HELP END ***/
|
/*** HELP END ***/
|
||||||
des = 'Macro to load multiple SAS packages at one run, version 20250728. Run %loadPackages() for help info.'
|
des = 'Macro to load multiple SAS packages at one run, version 20250729. Run %loadPackages() for help info.'
|
||||||
parmbuff
|
parmbuff
|
||||||
;
|
;
|
||||||
%if (%superq(packagesNames) = ) OR (%qupcase(&packagesNames.) = HELP) %then
|
%if (%superq(packagesNames) = ) OR (%qupcase(&packagesNames.) = HELP) %then
|
||||||
@@ -5571,7 +5589,7 @@ parmbuff
|
|||||||
%put ### This is short help information for the `loadPackageS` macro #;
|
%put ### This is short help information for the `loadPackageS` macro #;
|
||||||
%put #-------------------------------------------------------------------------------#;
|
%put #-------------------------------------------------------------------------------#;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # Macro wrapper for the loadPackage macro, version `20250728` #;
|
%put # Macro wrapper for the loadPackage macro, version `20250729` #;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # A SAS package is a zip file containing a group #;
|
%put # A SAS package is a zip file containing a group #;
|
||||||
%put # of SAS codes (macros, functions, data steps generating #;
|
%put # of SAS codes (macros, functions, data steps generating #;
|
||||||
@@ -5669,7 +5687,7 @@ parmbuff
|
|||||||
hashing_file() function, SAS 9.4M6 */
|
hashing_file() function, SAS 9.4M6 */
|
||||||
)/secure
|
)/secure
|
||||||
/*** HELP END ***/
|
/*** HELP END ***/
|
||||||
des = 'Macro to verify SAS package with the hash digest, version 20250728. Run %verifyPackage() for help info.'
|
des = 'Macro to verify SAS package with the hash digest, version 20250729. Run %verifyPackage() for help info.'
|
||||||
;
|
;
|
||||||
%if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then
|
%if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then
|
||||||
%do;
|
%do;
|
||||||
@@ -5684,7 +5702,7 @@ des = 'Macro to verify SAS package with the hash digest, version 20250728. Run %
|
|||||||
%put ### This is short help information for the `verifyPackage` macro #;
|
%put ### This is short help information for the `verifyPackage` macro #;
|
||||||
%put #-------------------------------------------------------------------------------#;
|
%put #-------------------------------------------------------------------------------#;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # Macro to verify SAS package with it hash digest, version `20250728` #;
|
%put # Macro to verify SAS package with it hash digest, version `20250729` #;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # A SAS package is a zip file containing a group #;
|
%put # A SAS package is a zip file containing a group #;
|
||||||
%put # of SAS codes (macros, functions, data steps generating #;
|
%put # of SAS codes (macros, functions, data steps generating #;
|
||||||
@@ -5866,7 +5884,7 @@ des = 'Macro to verify SAS package with the hash digest, version 20250728. Run %
|
|||||||
*/
|
*/
|
||||||
)/secure
|
)/secure
|
||||||
/*** HELP END ***/
|
/*** HELP END ***/
|
||||||
des = 'Macro to preview content of a SAS package, version 20250728. Run %previewPackage() for help info.'
|
des = 'Macro to preview content of a SAS package, version 20250729. Run %previewPackage() for help info.'
|
||||||
;
|
;
|
||||||
%if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then
|
%if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then
|
||||||
%do;
|
%do;
|
||||||
@@ -5881,7 +5899,7 @@ des = 'Macro to preview content of a SAS package, version 20250728. Run %preview
|
|||||||
%put ### This is short help information for the `previewPackage` macro #;
|
%put ### This is short help information for the `previewPackage` macro #;
|
||||||
%put #-------------------------------------------------------------------------------#;
|
%put #-------------------------------------------------------------------------------#;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # Macro to get preview of a SAS packages, version `20250728` #;
|
%put # Macro to get preview of a SAS packages, version `20250729` #;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # A SAS package is a zip file containing a group #;
|
%put # A SAS package is a zip file containing a group #;
|
||||||
%put # of SAS codes (macros, functions, data steps generating #;
|
%put # of SAS codes (macros, functions, data steps generating #;
|
||||||
@@ -6013,7 +6031,7 @@ des = 'Macro to preview content of a SAS package, version 20250728. Run %preview
|
|||||||
when empty the "packages" value is used */
|
when empty the "packages" value is used */
|
||||||
)/secure
|
)/secure
|
||||||
/*** HELP END ***/
|
/*** HELP END ***/
|
||||||
des = 'Macro to list directories pointed by "packages" fileref, version 20250728. Run %extendPackagesFileref(HELP) for help info.'
|
des = 'Macro to list directories pointed by "packages" fileref, version 20250729. Run %extendPackagesFileref(HELP) for help info.'
|
||||||
;
|
;
|
||||||
|
|
||||||
%if %QUPCASE(&packages.) = HELP %then
|
%if %QUPCASE(&packages.) = HELP %then
|
||||||
@@ -6029,7 +6047,7 @@ des = 'Macro to list directories pointed by "packages" fileref, version 20250728
|
|||||||
%put ### This is short help information for the `extendPackagesFileref` macro #;
|
%put ### This is short help information for the `extendPackagesFileref` macro #;
|
||||||
%put #-----------------------------------------------------------------------------------------#;;
|
%put #-----------------------------------------------------------------------------------------#;;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # Macro to list directories pointed by 'packages' fileref, version `20250728` #;
|
%put # Macro to list directories pointed by 'packages' fileref, version `20250729` #;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # A SAS package is a zip file containing a group #;
|
%put # A SAS package is a zip file containing a group #;
|
||||||
%put # of SAS codes (macros, functions, data steps generating #;
|
%put # of SAS codes (macros, functions, data steps generating #;
|
||||||
@@ -6131,7 +6149,7 @@ filename packages list;
|
|||||||
is provided in required version */
|
is provided in required version */
|
||||||
)/secure
|
)/secure
|
||||||
/*** HELP END ***/
|
/*** HELP END ***/
|
||||||
des = 'Macro to load additional content for a SAS package, version 20250728. Run %loadPackageAddCnt() for help info.'
|
des = 'Macro to load additional content for a SAS package, version 20250729. Run %loadPackageAddCnt() for help info.'
|
||||||
minoperator
|
minoperator
|
||||||
;
|
;
|
||||||
%if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then
|
%if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then
|
||||||
@@ -6147,7 +6165,7 @@ minoperator
|
|||||||
%put ### This is short help information for the `loadPackageAddCnt` macro #;
|
%put ### This is short help information for the `loadPackageAddCnt` macro #;
|
||||||
%put #-------------------------------------------------------------------------------#;
|
%put #-------------------------------------------------------------------------------#;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # Macro to *load* additional content for a SAS package, version `20250728` #;
|
%put # Macro to *load* additional content for a SAS package, version `20250729` #;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # A SAS package is a zip file containing a group #;
|
%put # A SAS package is a zip file containing a group #;
|
||||||
%put # of SAS codes (macros, functions, data steps generating #;
|
%put # of SAS codes (macros, functions, data steps generating #;
|
||||||
@@ -6505,7 +6523,7 @@ minoperator
|
|||||||
,nobs=0 /* technical parameter */
|
,nobs=0 /* technical parameter */
|
||||||
)
|
)
|
||||||
/*** HELP START ***/
|
/*** HELP START ***/
|
||||||
/ des = 'Utility macro to split "one big" code into multiple files for a SAS package, version 20250728. Run %splitCodeForPackage() for help info.'
|
/ des = 'Utility macro to split "one big" code into multiple files for a SAS package, version 20250729. Run %splitCodeForPackage() for help info.'
|
||||||
;
|
;
|
||||||
/*%macro _();%mend _;*/
|
/*%macro _();%mend _;*/
|
||||||
%if (%superq(codeFile) = ) OR (%qupcase(&codeFile.) = HELP) %then
|
%if (%superq(codeFile) = ) OR (%qupcase(&codeFile.) = HELP) %then
|
||||||
@@ -6522,7 +6540,7 @@ minoperator
|
|||||||
%put #-------------------------------------------------------------------------------#;
|
%put #-------------------------------------------------------------------------------#;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # Utility macro to *split* single file with SAS package code into multiple #;
|
%put # Utility macro to *split* single file with SAS package code into multiple #;
|
||||||
%put # files with separate snippets, version `20250728` #;
|
%put # files with separate snippets, version `20250729` #;
|
||||||
%put # #;
|
%put # #;
|
||||||
%put # A SAS package is a zip file containing a group #;
|
%put # A SAS package is a zip file containing a group #;
|
||||||
%put # of SAS codes (macros, functions, data steps generating #;
|
%put # of SAS codes (macros, functions, data steps generating #;
|
||||||
@@ -6900,7 +6918,7 @@ options nomprint nosymbolgen nomlogic notes source ls=MAX ps=MAX msglevel=N ;
|
|||||||
*/
|
*/
|
||||||
if firstLine[j] then
|
if firstLine[j] then
|
||||||
do;
|
do;
|
||||||
put '/* File generated with help of SAS Packages Framework, version 20250728. */';
|
put '/* File generated with help of SAS Packages Framework, version 20250729. */';
|
||||||
firstLine[j]=0;
|
firstLine[j]=0;
|
||||||
end;
|
end;
|
||||||
put _infile_;
|
put _infile_;
|
||||||
|
|||||||
Reference in New Issue
Block a user