Merge pull request #132 from yabwon/main

SAS Packages Framework, version 20260515
This commit is contained in:
Bart Jablonski
2026-05-16 00:04:46 +02:00
committed by GitHub
24 changed files with 375 additions and 238 deletions
+2 -2
View File
@@ -17,7 +17,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 **`20260514**. **The latest version** of the **SAS Packages Framework** is **`20260515**.
--- ---
@@ -46,7 +46,7 @@ Videos presenting the SPF and packages, from various conferences and meetups (th
- ["SAS Packages Framework - an easy code sharing medium for SAS" - Warsaw IT Days 2023](https://youtu.be/T52Omisi0dk&t=0s "Warsaw IT Days 2023") (March 31st 2023, ~60 minutes, general overview with technical details for user and developer) - ["SAS Packages Framework - an easy code sharing medium for SAS" - Warsaw IT Days 2023](https://youtu.be/T52Omisi0dk&t=0s "Warsaw IT Days 2023") (March 31st 2023, ~60 minutes, general overview with technical details for user and developer)
- ["SAS Package ー その共有、もっとスマートに" - SASユーザー総会 2025](https://youtu.be/4QRr7sUhO9E "SASユーザー総会2025") (September 25th 2025, ~22 minutes, general overview with the list of reasons: why is it worth to use SAS packages?) - ["SAS Package ー その共有、もっとスマートに" - SASユーザー総会 2025](https://youtu.be/4QRr7sUhO9E "SASユーザー総会2025") (September 25th 2025, ~22 minutes, general overview with the list of reasons: why is it worth to use SAS packages?)
- ["SQLinDS and evExpress SAS packages - a tribute to SAS rock-stars!" - SAS Innovate 2026 Users Day](https://www.youtube.com/watch?v=ONSmt_l2TtU&t=6433s "SAS Innovate 2026 Users Day") (April 27th 2026, ~30 minutes, introduction to `SQLinDS` and `evExpress` SAS packages) - ["SQLinDS and evExpress SAS packages - a tribute to SAS rock-stars!" - SAS Innovate 2026 Users Day](https://www.youtube.com/watch?v=ONSmt_l2TtU&t=6433s "SAS Innovate 2026 Users Day") (April 27th 2026, ~30 minutes, introduction to `SQLinDS` and `evExpress` SAS packages)
- ["Introducing SAS Packages: A Modern Code Sharing Medium for SAS" - SAS Innovate 2026](https://drive.google.com/file/d/1zr7MC5Ca1Lb6TFwq6vbqaHv5DUFdNNYA/view?usp=sharing "SAS Innovate 2026") (April 28th 2026, ~36 minutes, general overview and itroduction to SAS packages) - ["Introducing SAS Packages: A Modern Code Sharing Medium for SAS" - SAS Innovate 2026](https://youtu.be/0plCa_mcOMI?list=PLVBcK_IpFVi-BXicJ5ZMcXuPNQTphJuhv "SAS Innovate 2026") (April 28th 2026, ~36 minutes, general overview and itroduction to SAS packages)
+2 -2
View File
@@ -8,7 +8,7 @@
,packagesRef=packages ,packagesRef=packages
,ods= /* data set for report file */ ,ods= /* data set for report file */
)/ )/
des='Macro to create a bundle of SAS packages, version 20260514. Run %bundlePackages(HELP) for help info.' des='Macro to create a bundle of SAS packages, version 20260515. Run %bundlePackages(HELP) for help info.'
secure minoperator secure minoperator
; ;
@@ -25,7 +25,7 @@ secure minoperator
%put ### This is short help information for the `bundlePackages` macro #; %put ### This is short help information for the `bundlePackages` macro #;
%put #-------------------------------------------------------------------------------#; %put #-------------------------------------------------------------------------------#;
%put # #; %put # #;
%put # Macro to *create bundles* of SAS packages, version `20260514` #; %put # Macro to *create bundles* of SAS packages, version `20260515` #;
%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 #;
+2 -2
View File
@@ -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 20260514. Run %extendPackagesFileref(HELP) for help info.' des = 'Macro to list directories pointed by "packages" fileref, version 20260515. 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 20260514
%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 `20260514` #; %put # Macro to list directories pointed by 'packages' fileref, version `20260515` #;
%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 #;
+7 -7
View File
@@ -3,7 +3,7 @@
Macro to generate SAS packages. Macro to generate SAS packages.
Version 20260411 Version 20260515
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
@@ -53,7 +53,7 @@
when empty takes buildLocation */ when empty takes buildLocation */
)/ secure minoperator )/ secure minoperator
/*** HELP END ***/ /*** HELP END ***/
des = 'Macro to generate SAS packages, version 20260514. Run %generatePackage() for help info.' des = 'Macro to generate SAS packages, version 20260515. Run %generatePackage() for help info.'
; ;
%if (%superq(filesLocation) = ) OR (%qupcase(&filesLocation.) = HELP) %then %if (%superq(filesLocation) = ) OR (%qupcase(&filesLocation.) = HELP) %then
%do; %do;
@@ -68,7 +68,7 @@ des = 'Macro to generate SAS packages, version 20260514. 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 `20260514` #; %put # Macro to generate SAS packages, version `20260515` #;
%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 #;
@@ -950,7 +950,7 @@ title6 "MD5 hashed fileref of package lowcase name: &_PackageFileref_.";
title&_titleNumber_. "Package ZIP file location is: &buildLocation."; title&_titleNumber_. "Package ZIP file location is: &buildLocation.";
%end; %end;
footnote1 "SAS Packages Framework, version 20260514"; footnote1 "SAS Packages Framework, version 20260515";
proc print proc print
data = &filesWithCodes.(drop=base build folderRef fileRef rc folderid _abort_ fileId additionalContent) data = &filesWithCodes.(drop=base build folderRef fileRef rc folderid _abort_ fileId additionalContent)
@@ -1775,7 +1775,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 20260514.;''' / ' !! '' %put with the SAS Packages Framework version 20260515.;'''
/ ' !! '' %put ****************************************************************************;''' / ' !! '' %put ****************************************************************************;'''
/ ' !! '' %GOTO theEndOfTheMacro;''' / ' !! '' %GOTO theEndOfTheMacro;'''
/ ' !! '' %end;''' ; / ' !! '' %end;''' ;
@@ -1939,7 +1939,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 20260514.; '' !! ' / ''' %put with the SAS Packages Framework version 20260515.; '' !! ' /
''' %put ****************************************************************************; '' !! ' / ''' %put ****************************************************************************; '' !! ' /
''' %GOTO theEndOfTheMacro; '' !! ' / ''' %GOTO theEndOfTheMacro; '' !! ' /
''' %end; '' !! ' / ''' %end; '' !! ' /
@@ -2811,7 +2811,7 @@ data _null_;
%end; %end;
put 'put " " / @3 "---------------------------------------------------------------------" / " ";' put 'put " " / @3 "---------------------------------------------------------------------" / " ";'
/ 'put @3 "*SAS package generated by SAS Package Framework, version `20260514`*";' / 'put @3 "*SAS package generated by SAS Package Framework, version `20260515`*";'
/ "put @3 '*under `&sysscp.`(`&sysscpl.`) operating system,*';" / "put @3 '*under `&sysscp.`(`&sysscpl.`) operating system,*';"
/ "put @3 '*using SAS release: `&sysvlong4.`.*';" / "put @3 '*using SAS release: `&sysvlong4.`.*';"
/ 'put " " / @3 "---------------------------------------------------------------------";'; / 'put " " / @3 "---------------------------------------------------------------------";';
+2 -2
View File
@@ -28,7 +28,7 @@
*/ */
)/secure )/secure
/*** HELP END ***/ /*** HELP END ***/
des = 'Macro to get help about SAS package, version 20260514. Run %helpPackage() for help info.' des = 'Macro to get help about SAS package, version 20260515. 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 20260514. 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 `20260514` #; %put # Macro to get help about SAS packages, version `20260515` #;
%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 -3
View File
@@ -1,5 +1,5 @@
/*+installPackage+*/ /*+installPackage+*/
/* Macros to install SAS packages, version 20260411 */ /* Macros to install SAS packages, version 20260515 */
/* 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
@@ -30,7 +30,7 @@
/secure /secure
minoperator minoperator
/*** HELP END ***/ /*** HELP END ***/
des = 'Macro to install SAS package, version 20260514. Run %%installPackage() for help info.' des = 'Macro to install SAS package, version 20260515. Run %%installPackage() for help info.'
; ;
%if (%superq(packagesNames) = ) OR (%qupcase(&packagesNames.) = HELP) %then %if (%superq(packagesNames) = ) OR (%qupcase(&packagesNames.) = HELP) %then
%do; %do;
@@ -45,7 +45,7 @@ des = 'Macro to install SAS package, version 20260514. 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 `20260514` #; %put # Macro to install SAS packages, version `20260515` #;
%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 #;
+2 -2
View File
@@ -4,7 +4,7 @@
vERRb /* indicates if macro should be verbose and report errors */ vERRb /* indicates if macro should be verbose and report errors */
) )
/ minoperator PARMBUFF / minoperator PARMBUFF
des = 'Macro to check if the PACKAGES fileref is "correct", type %isPackagesFilerefOK(HELP) for help, version 20260514.' des = 'Macro to check if the PACKAGES fileref is "correct", type %isPackagesFilerefOK(HELP) for help, version 20260515.'
; ;
/*** HELP END ***/ /*** HELP END ***/
%if %QUPCASE(&SYSPBUFF.) = %str(%(HELP%)) %then %if %QUPCASE(&SYSPBUFF.) = %str(%(HELP%)) %then
@@ -20,7 +20,7 @@ des = 'Macro to check if the PACKAGES fileref is "correct", type %isPackagesFile
%put ### This is short help information for the `isPackagesFilerefOK` macro #; %put ### This is short help information for the `isPackagesFilerefOK` macro #;
%put #-----------------------------------------------------------------------------------------#;; %put #-----------------------------------------------------------------------------------------#;;
%put # #; %put # #;
%put # Macro to check if the `packages` fileref is "correct", version `20260514` #; %put # Macro to check if the `packages` fileref is "correct", version `20260515` #;
%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 -3
View File
@@ -3,7 +3,7 @@
Macro to list SAS packages in packages folder. Macro to list SAS packages in packages folder.
Version 20260411 Version 20260515
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
@@ -25,7 +25,7 @@
listDataSet /* Name of a data set to save results */ listDataSet /* Name of a data set to save results */
, quiet = 0 /* Indicate if results should be printed in log */ , quiet = 0 /* Indicate if results should be printed in log */
)/secure parmbuff )/secure parmbuff
des = 'Macro to list SAS packages from `packages` fileref, type %listPackages(HELP) for help, version 20260514.' des = 'Macro to list SAS packages from `packages` fileref, type %listPackages(HELP) for help, version 20260515.'
; ;
%if (%QUPCASE(&listDataSet.) = HELP) %then %if (%QUPCASE(&listDataSet.) = HELP) %then
%do; %do;
@@ -40,7 +40,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 `20260514` #; %put # Macro to list available SAS packages, version `20260515` #;
%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 #;
+2 -2
View File
@@ -36,7 +36,7 @@
*/ */
)/secure )/secure
/*** HELP END ***/ /*** HELP END ***/
des = 'Macro to load SAS package, version 20260514. Run %loadPackage() for help info.' des = 'Macro to load SAS package, version 20260515. 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 `20260514` #; %put # Macro to *load* SAS packages, version `20260515` #;
%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 #;
+2 -2
View File
@@ -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 20260514. Run %loadPackageAddCnt() for help info.' des = 'Macro to load additional content for a SAS package, version 20260515. 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 `20260514` #; %put # Macro to *load* additional content for a SAS package, version `20260515` #;
%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 #;
+2 -2
View File
@@ -11,7 +11,7 @@
*/ */
)/secure )/secure
/*** HELP END ***/ /*** HELP END ***/
des = 'Macro to load multiple SAS packages at one run, version 20260514. Run %loadPackages() for help info.' des = 'Macro to load multiple SAS packages at one run, version 20260515. 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 `20260514` #; %put # Macro wrapper for the loadPackage macro, version `20260515` #;
%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 #;
+2 -2
View File
@@ -23,7 +23,7 @@
*/ */
)/secure )/secure
/*** HELP END ***/ /*** HELP END ***/
des = 'Macro to preview content of a SAS package, version 20260514. Run %previewPackage() for help info.' des = 'Macro to preview content of a SAS package, version 20260515. 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 20260514. 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 `20260514` #; %put # Macro to get preview of a SAS packages, version `20260515` #;
%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 #;
+2 -2
View File
@@ -15,7 +15,7 @@
,psMAX=MAX /* pageSise in case executed inside DoSubL() */ ,psMAX=MAX /* pageSise in case executed inside DoSubL() */
,ods= /* a data set for results, e.g., work.relocatePackageReport */ ,ods= /* a data set for results, e.g., work.relocatePackageReport */
) )
/ des = 'Utility macro that locally Copies or Moves Packages, version 20260514. Run %relocatePackage() for help info.' / des = 'Utility macro that locally Copies or Moves Packages, version 20260515. Run %relocatePackage() for help info.'
secure secure
minoperator minoperator
; ;
@@ -33,7 +33,7 @@
%put ### This is short help information for the `relocatePackage` macro #; %put ### This is short help information for the `relocatePackage` macro #;
%put #-------------------------------------------------------------------------------#; %put #-------------------------------------------------------------------------------#;
%put # #; %put # #;
%put # Macro to *locally copy or move* (relocate) SAS packages, version `20260514` #; %put # Macro to *locally copy or move* (relocate) SAS packages, version `20260515` #;
%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 #;
+2 -2
View File
@@ -5,7 +5,7 @@ SPFmacroName /* space separated list of names */
/ /
minoperator minoperator
secure secure
des = 'Macro to provide help notes about SAS Packages Framework macros, version 20260514. Run %SasPackagesFrameworkNotes(HELP) for help info.' des = 'Macro to provide help notes about SAS Packages Framework macros, version 20260515. Run %SasPackagesFrameworkNotes(HELP) for help info.'
; ;
%local list N i element; %local list N i element;
%let list= %let list=
@@ -51,7 +51,7 @@ SasPackagesFrameworkNotes
%put ### This is short help information for the `SasPackagesFrameworkNotes` macro #; %put ### This is short help information for the `SasPackagesFrameworkNotes` macro #;
%put #-------------------------------------------------------------------------------#; %put #-------------------------------------------------------------------------------#;
%put # #; %put # #;
%put # Macro prints help notes for SAS Packages Framework macros, version `20260514` #; %put # Macro prints help notes for SAS Packages Framework macros, version `20260515` #;
%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 -1
View File
@@ -2,7 +2,7 @@
%macro SPFinit_intrnl_forceV7DSname( %macro SPFinit_intrnl_forceV7DSname(
mcParam /* name of a macro parameter holding user provided data set name */ mcParam /* name of a macro parameter holding user provided data set name */
)/secure minoperator )/secure minoperator
des='SAS Packages Framework internal macro. Executable only inside selected SPF macros. Macro generates 4GL code that forces V7 compatybility for user provided data set names. Version 20260514.'; des='SAS Packages Framework internal macro. Executable only inside selected SPF macros. Macro generates 4GL code that forces V7 compatybility for user provided data set names. Version 20260515.';
/* The macro can be called only inside a data step. */ /* The macro can be called only inside a data step. */
/**************************************************************************** /****************************************************************************
### Parameters: ### Parameters:
+1 -1
View File
@@ -1,6 +1,6 @@
/*+SPFint_gnPckg_arch+*/ /*+SPFint_gnPckg_arch+*/
%macro SPFint_gnPckg_arch()/secure minoperator %macro SPFint_gnPckg_arch()/secure minoperator
des='SAS Packages Framework internal macro. Executable only inside the %generatePackage() macro. The macro encapsulates the archive version generation part of the process. Version 20260514.'; des='SAS Packages Framework internal macro. Executable only inside the %generatePackage() macro. The macro encapsulates the archive version generation part of the process. Version 20260515.';
/* macro picks up all macrovariables from external scope, so from the %generatePackage() macro */ /* macro picks up all macrovariables from external scope, so from the %generatePackage() macro */
%if %sysmexecname(%sysmexecdepth-1) in (GENERATEPACKAGE) %then %if %sysmexecname(%sysmexecdepth-1) in (GENERATEPACKAGE) %then
%do; %do;
+2 -2
View File
@@ -1,6 +1,6 @@
/*+SPFint_gnPckg_markdown+*/ /*+SPFint_gnPckg_markdown+*/
%macro SPFint_gnPckg_markdown()/secure minoperator %macro SPFint_gnPckg_markdown()/secure minoperator
des='SAS Packages Framework internal macro. Executable only inside the %generatePackage() macro. The macro encapsulates the markdown documentation part of the process. Version 20260514.'; des='SAS Packages Framework internal macro. Executable only inside the %generatePackage() macro. The macro encapsulates the markdown documentation part of the process. Version 20260515.';
/* macro picks up all macrovariables from external scope, so from the %generatePackage() macro */ /* macro picks up all macrovariables from external scope, so from the %generatePackage() macro */
%if %sysmexecname(%sysmexecdepth-1) in (GENERATEPACKAGE) %then %if %sysmexecname(%sysmexecdepth-1) in (GENERATEPACKAGE) %then
%do; %do;
@@ -112,7 +112,7 @@ data &filesWithCodes.markdown;
%end; %end;
put " " / "---------------------------------------------------------------------" / " " put " " / "---------------------------------------------------------------------" / " "
/ "*SAS package generated by SAS Package Framework, version `20260514`,*" / "*SAS package generated by SAS Package Framework, version `20260515`,*"
/ "*under `&sysscp.`(`&sysscpl.`) operating system,*" / "*under `&sysscp.`(`&sysscpl.`) operating system,*"
/ "*using SAS release: `&sysvlong4.`.*" / "*using SAS release: `&sysvlong4.`.*"
/ " " / "---------------------------------------------------------------------" / " "; / " " / "---------------------------------------------------------------------" / " ";
+1 -1
View File
@@ -1,6 +1,6 @@
/*+SPFint_gnPckg_tests+*/ /*+SPFint_gnPckg_tests+*/
%macro SPFint_gnPckg_tests()/secure minoperator %macro SPFint_gnPckg_tests()/secure minoperator
des='SAS Packages Framework internal macro. Executable only inside the %generatePackage() macro. The macro encapsulates the test part of the process. Version 20260514.'; des='SAS Packages Framework internal macro. Executable only inside the %generatePackage() macro. The macro encapsulates the test part of the process. Version 20260515.';
/* macro picks up all macrovariables from external scope, so from the %generatePackage() macro */ /* macro picks up all macrovariables from external scope, so from the %generatePackage() macro */
%if %sysmexecname(%sysmexecdepth-1) in (GENERATEPACKAGE) %then %if %sysmexecname(%sysmexecdepth-1) in (GENERATEPACKAGE) %then
%do; %do;
+3 -3
View File
@@ -8,7 +8,7 @@
,nobs=0 /* technical parameter */ ,nobs=0 /* technical parameter */
) )
/*** HELP END ***/ /*** HELP END ***/
/ des = 'Utility macro to split "one big" code into multiple files for a SAS package, version 20260514. Run %splitCodeForPackage() for help info.' / des = 'Utility macro to split "one big" code into multiple files for a SAS package, version 20260515. Run %splitCodeForPackage() for help info.'
; ;
%if (%superq(codeFile) = ) OR (%qupcase(&codeFile.) = HELP) %then %if (%superq(codeFile) = ) OR (%qupcase(&codeFile.) = HELP) %then
%do; %do;
@@ -24,7 +24,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 `20260514` #; %put # files with separate snippets, version `20260515` #;
%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 #;
@@ -400,7 +400,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 20260411. */'; put '/* File generated with help of SAS Packages Framework, version 20260515. */';
firstLine[j]=0; firstLine[j]=0;
end; end;
put _infile_; put _infile_;
+112 -48
View File
@@ -6,9 +6,11 @@
,packagesPath= ,packagesPath=
,packagesRef=packages ,packagesRef=packages
,ods= /* data set for report file */ ,ods= /* data set for report file */
,reportOnly=0
,verify=0 ,verify=0
,quiet=0
)/ )/
des='Macro to extract a bundle of SAS packages, version 20260514. Run %unbundlePackages(HELP) for help info.' des='Macro to extract a bundle of SAS packages, version 20260515. Run %unbundlePackages(HELP) for help info.'
secure secure
minoperator minoperator
; ;
@@ -26,7 +28,7 @@ minoperator
%put ### This is short help information for the `unbundlePackages` macro #; %put ### This is short help information for the `unbundlePackages` macro #;
%put #-------------------------------------------------------------------------------#; %put #-------------------------------------------------------------------------------#;
%put # #; %put # #;
%put # Macro to *extract* SAS packages from a bundle, version `20260514` #; %put # Macro to *extract* SAS packages from a bundle, version `20260515` #;
%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 #;
@@ -62,7 +64,16 @@ minoperator
%put # #; %put # #;
%put # - `verify=` *Optional.* Indicates if verification code should #; %put # - `verify=` *Optional.* Indicates if verification code should #;
%put # be executed after bundle extraction. #; %put # be executed after bundle extraction. #;
%put # Value `1` means yes, Value `0` means no. #; %put # Value `1` means yes, Value `0` (default) means no. #;
%put # #;
%put # - `reportOnly=` *Optional.* Indicates if packages unbundling should #;
%put # be suspended and only a report with bundle content #;
%put # be produced and printed. #;
%put # Value `1` means yes, Value `0` (default) means no. #;
%put # #;
%put # - `quiet=` *Optional.* Indicates if printout of the summary #;
%put # report should be suspended. #;
%put # Value `1` means yes, Value `0` (default) means no. #;
%put # #; %put # #;
%put #-------------------------------------------------------------------------------#; %put #-------------------------------------------------------------------------------#;
%put # #; %put # #;
@@ -110,6 +121,11 @@ minoperator
/*===================================================================================================*/ /*===================================================================================================*/
%if NOT(%superq(verify) in (0 1)) %then %let verify=0; %if NOT(%superq(verify) in (0 1)) %then %let verify=0;
%if NOT(%superq(quiet) in (0 1)) %then %let quiet=0;
%if NOT(%superq(reportOnly) in (0 1)) %then %let reportOnly=0;
/* no verification when reporting */
%if 1=&reportOnly. %then %let verify=0;
%local HASHING_FILE_exist; %local HASHING_FILE_exist;
%let HASHING_FILE_exist = 0; %let HASHING_FILE_exist = 0;
@@ -159,42 +175,47 @@ length packagesPath $ 32767 packagesRef $ 8;
packagesPath = dequote(symget('packagesPath')); packagesPath = dequote(symget('packagesPath'));
packagesRef = upcase(strip(symget('packagesRef'))); packagesRef = upcase(strip(symget('packagesRef')));
/* organize target path (location for packages) */ if 0 then set SASHELP.VEXTFL(keep=level xpath xengine fileref exists);
if " "=packagesPath then
do;
if 0 then set SASHELP.VEXTFL(keep=level xpath xengine fileref exists);
DECLARE HASH sH(dataset:'SASHELP.VEXTFL(where=(fileref=' !! quote(packagesRef) !! '))', ordered: "A");
sH.DefineKey("level");
sH.DefineData("xpath","xengine","exists");
sH.DefineDone();
if sH.NUM_ITEMS=0 then /* ignore target check when only report is requested */
%if 0=&reportOnly. %then
%do;
/* organize target path (location for packages) */
if " "=packagesPath then
do; do;
put "ERROR: Fileref in packagesRef= does NOT exist. Exiting!"; DECLARE HASH sH(dataset:'SASHELP.VEXTFL(where=(fileref=' !! quote(packagesRef) !! '))', ordered: "A");
stop; sH.DefineKey("level");
sH.DefineData("xpath","xengine","exists");
sH.DefineDone();
if sH.NUM_ITEMS=0 then
do;
put "ERROR: Fileref in packagesRef= does NOT exist. Exiting!";
stop;
end;
packagesPath=" ";
rc = sH.FIND(key:NOT(1=sH.NUM_ITEMS)); /* if only 1 element select level 0, if more than 1 select level 1 */
if xengine = "DISK" AND exists='yes' then
packagesPath=quote(strip(xpath)); /* add quotes to the packagesPath */
else
do;
put "ERROR: Path: " xpath "in packagesRef= is invalid! Exiting!";
stop;
end;
end; end;
packagesPath=" ";
rc = sH.FIND(key:NOT(1=sH.NUM_ITEMS)); /* if only 1 element select level 0, if more than 1 select level 1 */
if xengine = "DISK" AND exists='yes' then
packagesPath=quote(strip(xpath)); /* add quotes to the packagesPath */
else else
do; do;
put "ERROR: Path: " xpath "in packagesRef= is invalid! Exiting!"; rcPckPath = fileexist(strip(packagesPath));
stop; if 0=rcPckPath then
do;
put "ERROR: Path in packagesPath= does NOT exist. Exiting!";
stop;
end;
else packagesPath=quote(strip(packagesPath)); /* add quotes to the packagesPath */
end; end;
end; %end;
else
do;
rcPckPath = fileexist(strip(packagesPath));
if 0=rcPckPath then
do;
put "ERROR: Path in packagesPath= does NOT exist. Exiting!";
stop;
end;
else packagesPath=quote(strip(packagesPath)); /* add quotes to the packagesPath */
end;
length path $ 32767 pathRef $ 8; length path $ 32767 pathRef $ 8;
path = dequote(symget('path')); path = dequote(symget('path'));
@@ -277,7 +298,7 @@ DECLARE HITER IQ("Q");
/*--------------------------------------------------*/ /*--------------------------------------------------*/
do until(EOF); do until(EOF);
input package :$32. pckVer :$16. pckDtm :$16. hash :$128.; input package :$32. pckVer :$16. pckDtm :$24. hash :$128.;
if " " NE package then rc = Q.ADD(); if " " NE package then rc = Q.ADD();
end; end;
label package="Package name" label package="Package name"
@@ -298,25 +319,29 @@ else
rc = Q.output(dataset: /* create propper tag */ rc = Q.output(dataset: /* create propper tag */
%if %superq(ods) NE %then %do; "&ods." %end; %if %superq(ods) NE %then %do; "&ods.(label='Bundle: " !! strip(bundleName) !! "')" %end;
%else %do; "&reportFile.1" %end; %else %do; "&reportFile.1" %end;
); );
/* code executed for unbundling */ /* code executed for unbundling */
length code1 code2 $ 32767; length code1 code2 $ 32767;
code1= %if 0=&reportOnly. %then
'options ps=min nofullstimer nostimer msglevel=N; filename PACKAGES ' !! strip(packagesPath) !! ';' !! %do;
'%relocatePackage(' !! strip(packagesList) !! ',source=' !! catx("/", path, bundleName) !! code1=
'.bundle.zip, sDevice=ZIP,psMAX=MIN)'; 'options ps=min nofullstimer nostimer msglevel=N; filename PACKAGES ' !! strip(packagesPath) !! ';' !!
'%relocatePackage(' !! strip(packagesList) !! ',source=' !! catx("/", path, bundleName) !!
'.bundle.zip, sDevice=ZIP,psMAX=MIN)';
/*put code=;*/ /*put code=;*/
put / "INFO: The " bundleName "bundle extraction in progress..."; put / "INFO: The " bundleName "bundle extraction in progress...";
rc = doSubL(code1); rc = doSubL(code1);
put / "INFO: The " bundleName "bundle extraction ended.";
%end;
put / "INFO: The " bundleName "bundle extraction ended.";
/* code executed for verification */ /* code executed for verification */
%if 1=&verify. %then %if 1=&verify. %then
@@ -332,11 +357,15 @@ put / "INFO: The " bundleName "bundle extraction ended.";
put " "; put " ";
rc=sleep(1,1); rc=sleep(1,1);
rc = doSubL("title 'Summary of the extracted bundle file';" !! rc = doSubL(
"proc print label data=" !! %if 0=&quiet. %then /* do not print report */
%if %superq(ods) NE %then %do; "&ods." %end; %do;
%else %do; "&reportFile.1" %end; !! "title 'Summary of the bundle file: " !! strip(bundleName) !! "';" !!
"; var package pckVer pckDtm hash; run;" !! "proc print label data=" !!
%if %superq(ods) NE %then %do; "&ods." %end;
%else %do; "&reportFile.1" %end; !!
"; var package pckVer pckDtm hash; run;" !!
%end;
%if %superq(ods) NE %then %if %superq(ods) NE %then
%do; %put INFO: Report file: &ods.; %end; %do; %put INFO: Report file: &ods.; %end;
%else %else
@@ -392,6 +421,41 @@ options mprint;
,packagesPath=R:\check ,packagesPath=R:\check
,verify=1 ,verify=1
) )
*/
/* reportOnly & quiet
%bundlePackages(myLittleBundle
,path=R:\
,packagesList=basePlus SQLinDS macroarray
,packagesRef=PACKAGES)
option dlcreatedir;
libname _ "R:\check5";
%unbundlePackages(myLittleBundle
,path=R:\
,reportOnly=1
,ods=work.bundleReport1)
%unbundlePackages(myLittleBundle
,path=R:\
,reportOnly=1
,ods=work.bundleReport2
,quiet=1)
%unbundlePackages(myLittleBundle
,path=R:\
,packagesPath=R:\check5
,ods=work.bundleReport3
,quiet=1, verify=1)
%unbundlePackages(myLittleBundle
,path=R:\
,packagesPath=R:\check5
,ods=work.bundleReport4
,quiet=0, verify=1)
*/ */
+2 -2
View File
@@ -20,7 +20,7 @@
*/ */
)/secure )/secure
/*** HELP END ***/ /*** HELP END ***/
des = 'Macro to unload SAS package, version 20260514. Run %unloadPackage() for help info.' des = 'Macro to unload SAS package, version 20260515. 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 20260514. 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 `20260514` #; %put # Macro to unload SAS packages, version `20260515` #;
%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 #;
+2 -2
View File
@@ -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 20260514. Run %verifyPackage() for help info.' des = 'Macro to verify SAS package with the hash digest, version 20260515. 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 20260514. 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 `20260514` #; %put # Macro to verify SAS package with it hash digest, version `20260515` #;
%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 #;
+58 -49
View File
@@ -1,7 +1,7 @@
--- ---
# SAS Packages Framework, version `20260514` # SAS Packages Framework, version `20260515`
--- ---
@@ -34,7 +34,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 **`20260514`**. In this repository we are presenting the **SAS Packages Framework** which allows to develop and use SAS packages. The latest version of SPF is **`20260515`**.
**To get started with SAS Packages** try this [**`Introduction to SAS Packages`**](https://youtube.com/playlist?list=PLeMzGEImIT5eV13IGXQIgWmTFCJt_cLZG&si=ElQm0_ifq76mvUbq "Introduction to SAS Packages video series") video series or [**`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 [**`Introduction to SAS Packages`**](https://youtube.com/playlist?list=PLeMzGEImIT5eV13IGXQIgWmTFCJt_cLZG&si=ElQm0_ifq76mvUbq "Introduction to SAS Packages video series") video series or [**`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).
@@ -57,7 +57,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 `20260514` Macro to install SAS packages, version `20260515`
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
@@ -105,15 +105,15 @@ them using the SPF can be found [**HERE**](https://github.com/yabwon/HoW-SASPack
When there are multiple packages to install version variable When there are multiple packages to install version variable
is scan sequentially. is scan sequentially.
- `replace=` When set to `1` and a package file exists, it forces the package - `replace=` When set to `1` and a package file exists, it forces the package
file replacement by the new downloaded file. file replacement by the new downloaded file.
It is a binary indicator ('0' or '1'). Default value is `1`. It is a binary indicator ('0' or '1'). Default value is `1`.
- `backup=` When set to `1` and a package file exists, it creates a backup copy - `backup=` When set to `1` and a package file exists, it creates a backup copy
of the package file. The backup copy is created with a suffix of the of the package file. The backup copy is created with a suffix of the
following format: `_BCKP_yyyymmddJJMMSS`. following format: `_BCKP_yyyymmddJJMMSS`.
If `replace=0` then `backup` is set to `0`. If `replace=0` then `backup` is set to `0`.
It is a binary indicator ('0' or '1'). Default value is `0`. It is a binary indicator ('0' or '1'). Default value is `0`.
- `URLuser=` A user name for the password protected URLs, no quotes needed. - `URLuser=` A user name for the password protected URLs, no quotes needed.
@@ -144,24 +144,24 @@ them using the SPF can be found [**HERE**](https://github.com/yabwon/HoW-SASPack
`https://github.com/<github>/<packagename>/raw/.../` `https://github.com/<github>/<packagename>/raw/.../`
All characters except `[A-z0-9_.-]` are compressed. All characters except `[A-z0-9_.-]` are compressed.
- `githubRepo=` *Optional.* A name of a repository in GitHub. - `githubRepo=` *Optional.* A name of a repository in GitHub.
Allows an easy set of the search path for packages available on GitHub: Allows an easy set of the search path for packages available on GitHub:
`https://github.com/<github>/<githubRepo>/raw/.../` `https://github.com/<github>/<githubRepo>/raw/.../`
By default lowercase name of installed package is used. By default lowercase name of installed package is used.
- `githubToken=` *Optional.* A fine-grained personal access token for GitHub. - `githubToken=` *Optional.* A fine-grained personal access token for GitHub.
When the value is non-missing it triggers GitHub API access to When the value is non-missing it triggers GitHub API access to
private repositories. Of course the token used has to be configured private repositories. Of course the token used has to be configured
properly for the access. properly for the access.
Read GitHub documentation to learn how to create and setup your token: Read GitHub documentation to learn how to create and setup your token:
`https://docs.github.com/en/authentication/` `https://docs.github.com/en/authentication/`
`keeping-your-account-and-data-secure/` `keeping-your-account-and-data-secure/`
`managing-your-personal-access-tokens` `managing-your-personal-access-tokens`
`#creating-a-fine-grained-personal-access-token` `#creating-a-fine-grained-personal-access-token`
(lines break added for easier reading) (lines break added for easier reading)
Public repos do not need authentication. Public repos do not need authentication.
[NOTE!] This feature is experimental in this release. [NOTE!] This feature is experimental in this release.
-------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------
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.
@@ -210,7 +210,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 `20260514` Macro to get help about SAS packages, version `20260515`
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
@@ -288,7 +288,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 `20260514` Macro to *load* SAS packages, version `20260515`
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
@@ -446,7 +446,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 `20260514` Macro wrapper for the loadPackage macro, version `20260515`
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
@@ -497,7 +497,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 `20260514` Macro to unload SAS packages, version `20260515`
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
@@ -564,7 +564,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 `20260514` Macro to list available SAS packages, version `20260515`
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
@@ -613,7 +613,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 `20260514` Macro to verify SAS package with it hash digest, version `20260515`
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
@@ -669,7 +669,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 `20260514` Macro to get preview of a SAS packages, version `20260515`
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
@@ -738,7 +738,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 `20260514` Macro to generate SAS packages, version `20260515`
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
@@ -971,7 +971,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 `20260514` Macro to list directories pointed by 'packages' fileref, version `20260515`
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
@@ -1013,7 +1013,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 `20260514` Macro to load *additional content* for a SAS package, version `20260515`
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
@@ -1107,7 +1107,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 `20260514` files with separate snippets, version `20260515`
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
@@ -1188,7 +1188,7 @@ filename packages "C:/SAS_PACKAGES"; %* setup a directory for packages;
## This is short help information for the `relocatePackage` macro <a name="relocatepackage"></a> ## This is short help information for the `relocatePackage` macro <a name="relocatepackage"></a>
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
Macro to *locally copy or move* (relocate) SAS packages, version `20260514` Macro to *locally copy or move* (relocate) SAS packages, version `20260515`
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
@@ -1300,7 +1300,7 @@ filename packages "C:/SAS_PACKAGES"; %* setup a directory for packages;
## This is short help information for the `isPackagesFilerefOK` macro <a name="ispackagesfilerefok"></a> ## This is short help information for the `isPackagesFilerefOK` macro <a name="ispackagesfilerefok"></a>
----------------------------------------------------------------------------------------- -----------------------------------------------------------------------------------------
Macro to check if the `packages` fileref is "correct", version `20260514` Macro to check if the `packages` fileref is "correct", version `20260515`
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
@@ -1351,7 +1351,7 @@ filename packages "C:/SAS_PACKAGES"; %* setup a directory for packages;
## This is short help information for the `SasPackagesFrameworkNotes` macro <a name="saspackagesframeworknotes"></a> ## This is short help information for the `SasPackagesFrameworkNotes` macro <a name="saspackagesframeworknotes"></a>
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
Macro prints help notes for SAS Packages Framework macros, version `20260514` Macro prints help notes for SAS Packages Framework macros, version `20260515`
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
@@ -1401,7 +1401,7 @@ filename packages "C:/SAS_PACKAGES"; %* setup a directory for packages;
## This is short help information for the `bundlePackages` macro <a name="bundlepackages"></a> ## This is short help information for the `bundlePackages` macro <a name="bundlepackages"></a>
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
Macro to *create bundles* of SAS packages, version `20260514` Macro to *create bundles* of SAS packages, version `20260515`
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
@@ -1438,7 +1438,7 @@ filename packages "C:/SAS_PACKAGES"; %* setup a directory for packages;
- `packagesRef=` *Optional.* Fileref to location of packages for the - `packagesRef=` *Optional.* Fileref to location of packages for the
bundle. Default value is `packages`. bundle. Default value is `packages`.
- `ods=` *Optional.* Name of SAS data set for the report. - `ods=` *Optional.* V7 style name of SAS data set for report.
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
@@ -1470,7 +1470,7 @@ filename packages "C:/SAS_PACKAGES"; %* setup a directory for packages;
## This is short help information for the `unbundlePackages` macro <a name="unbundlepackages"></a> ## This is short help information for the `unbundlePackages` macro <a name="unbundlepackages"></a>
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
Macro to *extract* SAS packages from a bundle, version `20260514` Macro to *extract* SAS packages from a bundle, version `20260515`
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
@@ -1502,11 +1502,20 @@ filename packages "C:/SAS_PACKAGES"; %* setup a directory for packages;
- `packagesRef=` *Optional.* Fileref to location where packages will - `packagesRef=` *Optional.* Fileref to location where packages will
be extracted. Default value is `packages`. be extracted. Default value is `packages`.
- `ods=` *Optional.* Name of SAS data set for the report. - `ods=` *Optional.* V7 style name of SAS data set for report.
- `verify=` *Optional.* Indicates if verification code should - `verify=` *Optional.* Indicates if verification code should
be executed after bundle extraction. be executed after bundle extraction.
Value `1` means yes, Value `0` means no. Value `1` means yes, Value `0` (default) means no.
- `reportOnly=` *Optional.* Indicates if packages unbundling should
be suspended and only a report with bundle content
be produced and printed.
Value `1` means yes, Value `0` (default) means no.
- `quiet=` *Optional.* Indicates if printout of the summary report
should be suspended.
Value `1` means yes, Value `0` (default) means no.
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
+158 -94
View File
@@ -43,7 +43,7 @@
- to unload, or - to unload, or
- to generate SAS packages. - to generate SAS packages.
SAS Packages Framework, version 20260514. SAS Packages Framework, version 20260515.
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
@@ -101,7 +101,7 @@ Contributors:
*/ */
)/secure )/secure
/*** HELP END ***/ /*** HELP END ***/
des = 'Macro to load SAS package, version 20260514. Run %loadPackage() for help info.' des = 'Macro to load SAS package, version 20260515. Run %loadPackage() for help info.'
minoperator minoperator
; ;
%if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then %if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then
@@ -117,7 +117,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 `20260514` #; %put # Macro to *load* SAS packages, version `20260515` #;
%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 #;
@@ -398,7 +398,7 @@ minoperator
*/ */
)/secure )/secure
/*** HELP END ***/ /*** HELP END ***/
des = 'Macro to unload SAS package, version 20260514. Run %unloadPackage() for help info.' des = 'Macro to unload SAS package, version 20260515. Run %unloadPackage() for help info.'
; ;
%if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then %if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then
%do; %do;
@@ -413,7 +413,7 @@ des = 'Macro to unload SAS package, version 20260514. 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 `20260514` #; %put # Macro to unload SAS packages, version `20260515` #;
%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 #;
@@ -568,7 +568,7 @@ des = 'Macro to unload SAS package, version 20260514. Run %unloadPackage() for h
*/ */
)/secure )/secure
/*** HELP END ***/ /*** HELP END ***/
des = 'Macro to get help about SAS package, version 20260514. Run %helpPackage() for help info.' des = 'Macro to get help about SAS package, version 20260515. Run %helpPackage() for help info.'
; ;
%if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then %if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then
%do; %do;
@@ -583,7 +583,7 @@ des = 'Macro to get help about SAS package, version 20260514. 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 `20260514` #; %put # Macro to get help about SAS packages, version `20260515` #;
%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 #;
@@ -728,7 +728,7 @@ TODO:
*/ */
/*+installPackage+*/ /*+installPackage+*/
/* Macros to install SAS packages, version 20260514 */ /* Macros to install SAS packages, version 20260515 */
/* 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
@@ -759,7 +759,7 @@ TODO:
/secure /secure
minoperator minoperator
/*** HELP END ***/ /*** HELP END ***/
des = 'Macro to install SAS package, version 20260514. Run %%installPackage() for help info.' des = 'Macro to install SAS package, version 20260515. Run %%installPackage() for help info.'
; ;
%if (%superq(packagesNames) = ) OR (%qupcase(&packagesNames.) = HELP) %then %if (%superq(packagesNames) = ) OR (%qupcase(&packagesNames.) = HELP) %then
%do; %do;
@@ -774,7 +774,7 @@ des = 'Macro to install SAS package, version 20260514. 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 `20260514` #; %put # Macro to install SAS packages, version `20260515` #;
%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 #;
@@ -1644,7 +1644,7 @@ des = 'Macro to install SAS package, version 20260514. Run %%installPackage() fo
Macro to list SAS packages in packages folder. Macro to list SAS packages in packages folder.
Version 20260514 Version 20260515
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
@@ -1666,7 +1666,7 @@ des = 'Macro to install SAS package, version 20260514. Run %%installPackage() fo
listDataSet /* Name of a data set to save results */ listDataSet /* Name of a data set to save results */
, quiet = 0 /* Indicate if results should be printed in log */ , quiet = 0 /* Indicate if results should be printed in log */
)/secure parmbuff )/secure parmbuff
des = 'Macro to list SAS packages from `packages` fileref, type %listPackages(HELP) for help, version 20260514.' des = 'Macro to list SAS packages from `packages` fileref, type %listPackages(HELP) for help, version 20260515.'
; ;
%if (%QUPCASE(&listDataSet.) = HELP) %then %if (%QUPCASE(&listDataSet.) = HELP) %then
%do; %do;
@@ -1681,7 +1681,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 `20260514` #; %put # Macro to list available SAS packages, version `20260515` #;
%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 #;
@@ -1910,7 +1910,7 @@ options ls = &ls_tmp. ps = &ps_tmp. &notes_tmp. &source_tmp.;
Macro to generate SAS packages. Macro to generate SAS packages.
Version 20260514 Version 20260515
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
@@ -1960,7 +1960,7 @@ options ls = &ls_tmp. ps = &ps_tmp. &notes_tmp. &source_tmp.;
when empty takes buildLocation */ when empty takes buildLocation */
)/ secure minoperator )/ secure minoperator
/*** HELP END ***/ /*** HELP END ***/
des = 'Macro to generate SAS packages, version 20260514. Run %generatePackage() for help info.' des = 'Macro to generate SAS packages, version 20260515. Run %generatePackage() for help info.'
; ;
%if (%superq(filesLocation) = ) OR (%qupcase(&filesLocation.) = HELP) %then %if (%superq(filesLocation) = ) OR (%qupcase(&filesLocation.) = HELP) %then
%do; %do;
@@ -1975,7 +1975,7 @@ des = 'Macro to generate SAS packages, version 20260514. 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 `20260514` #; %put # Macro to generate SAS packages, version `20260515` #;
%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 #;
@@ -2857,7 +2857,7 @@ title6 "MD5 hashed fileref of package lowcase name: &_PackageFileref_.";
title&_titleNumber_. "Package ZIP file location is: &buildLocation."; title&_titleNumber_. "Package ZIP file location is: &buildLocation.";
%end; %end;
footnote1 "SAS Packages Framework, version 20260514"; footnote1 "SAS Packages Framework, version 20260515";
proc print proc print
data = &filesWithCodes.(drop=base build folderRef fileRef rc folderid _abort_ fileId additionalContent) data = &filesWithCodes.(drop=base build folderRef fileRef rc folderid _abort_ fileId additionalContent)
@@ -3682,7 +3682,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 20260514.;''' / ' !! '' %put with the SAS Packages Framework version 20260515.;'''
/ ' !! '' %put ****************************************************************************;''' / ' !! '' %put ****************************************************************************;'''
/ ' !! '' %GOTO theEndOfTheMacro;''' / ' !! '' %GOTO theEndOfTheMacro;'''
/ ' !! '' %end;''' ; / ' !! '' %end;''' ;
@@ -3846,7 +3846,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 20260514.; '' !! ' / ''' %put with the SAS Packages Framework version 20260515.; '' !! ' /
''' %put ****************************************************************************; '' !! ' / ''' %put ****************************************************************************; '' !! ' /
''' %GOTO theEndOfTheMacro; '' !! ' / ''' %GOTO theEndOfTheMacro; '' !! ' /
''' %end; '' !! ' / ''' %end; '' !! ' /
@@ -4718,7 +4718,7 @@ data _null_;
%end; %end;
put 'put " " / @3 "---------------------------------------------------------------------" / " ";' put 'put " " / @3 "---------------------------------------------------------------------" / " ";'
/ 'put @3 "*SAS package generated by SAS Package Framework, version `20260514`*";' / 'put @3 "*SAS package generated by SAS Package Framework, version `20260515`*";'
/ "put @3 '*under `&sysscp.`(`&sysscpl.`) operating system,*';" / "put @3 '*under `&sysscp.`(`&sysscpl.`) operating system,*';"
/ "put @3 '*using SAS release: `&sysvlong4.`.*';" / "put @3 '*using SAS release: `&sysvlong4.`.*';"
/ 'put " " / @3 "---------------------------------------------------------------------";'; / 'put " " / @3 "---------------------------------------------------------------------";';
@@ -5157,7 +5157,7 @@ options &qlenmax_fstimer_tmp.;
/*+SPFint_gnPckg_tests+*/ /*+SPFint_gnPckg_tests+*/
%macro SPFint_gnPckg_tests()/secure minoperator %macro SPFint_gnPckg_tests()/secure minoperator
des='SAS Packages Framework internal macro. Executable only inside the %generatePackage() macro. The macro encapsulates the test part of the process. Version 20260514.'; des='SAS Packages Framework internal macro. Executable only inside the %generatePackage() macro. The macro encapsulates the test part of the process. Version 20260515.';
/* macro picks up all macrovariables from external scope, so from the %generatePackage() macro */ /* macro picks up all macrovariables from external scope, so from the %generatePackage() macro */
%if %sysmexecname(%sysmexecdepth-1) in (GENERATEPACKAGE) %then %if %sysmexecname(%sysmexecdepth-1) in (GENERATEPACKAGE) %then
%do; %do;
@@ -5839,7 +5839,7 @@ options &quotelenmax_tmp.;
/*+SPFint_gnPckg_markdown+*/ /*+SPFint_gnPckg_markdown+*/
%macro SPFint_gnPckg_markdown()/secure minoperator %macro SPFint_gnPckg_markdown()/secure minoperator
des='SAS Packages Framework internal macro. Executable only inside the %generatePackage() macro. The macro encapsulates the markdown documentation part of the process. Version 20260514.'; des='SAS Packages Framework internal macro. Executable only inside the %generatePackage() macro. The macro encapsulates the markdown documentation part of the process. Version 20260515.';
/* macro picks up all macrovariables from external scope, so from the %generatePackage() macro */ /* macro picks up all macrovariables from external scope, so from the %generatePackage() macro */
%if %sysmexecname(%sysmexecdepth-1) in (GENERATEPACKAGE) %then %if %sysmexecname(%sysmexecdepth-1) in (GENERATEPACKAGE) %then
%do; %do;
@@ -5951,7 +5951,7 @@ data &filesWithCodes.markdown;
%end; %end;
put " " / "---------------------------------------------------------------------" / " " put " " / "---------------------------------------------------------------------" / " "
/ "*SAS package generated by SAS Package Framework, version `20260514`,*" / "*SAS package generated by SAS Package Framework, version `20260515`,*"
/ "*under `&sysscp.`(`&sysscpl.`) operating system,*" / "*under `&sysscp.`(`&sysscpl.`) operating system,*"
/ "*using SAS release: `&sysvlong4.`.*" / "*using SAS release: `&sysvlong4.`.*"
/ " " / "---------------------------------------------------------------------" / " "; / " " / "---------------------------------------------------------------------" / " ";
@@ -6092,7 +6092,7 @@ options &MarkDownOptionsTmp.;
/*+SPFint_gnPckg_arch+*/ /*+SPFint_gnPckg_arch+*/
%macro SPFint_gnPckg_arch()/secure minoperator %macro SPFint_gnPckg_arch()/secure minoperator
des='SAS Packages Framework internal macro. Executable only inside the %generatePackage() macro. The macro encapsulates the archive version generation part of the process. Version 20260514.'; des='SAS Packages Framework internal macro. Executable only inside the %generatePackage() macro. The macro encapsulates the archive version generation part of the process. Version 20260515.';
/* macro picks up all macrovariables from external scope, so from the %generatePackage() macro */ /* macro picks up all macrovariables from external scope, so from the %generatePackage() macro */
%if %sysmexecname(%sysmexecdepth-1) in (GENERATEPACKAGE) %then %if %sysmexecname(%sysmexecdepth-1) in (GENERATEPACKAGE) %then
%do; %do;
@@ -6259,7 +6259,7 @@ TODO: (in Polish)
*/ */
)/secure )/secure
/*** HELP END ***/ /*** HELP END ***/
des = 'Macro to load multiple SAS packages at one run, version 20260514. Run %loadPackages() for help info.' des = 'Macro to load multiple SAS packages at one run, version 20260515. Run %loadPackages() for help info.'
parmbuff parmbuff
; ;
%if (%superq(packagesNames) = ) OR (%qupcase(&packagesNames.) = HELP) %then %if (%superq(packagesNames) = ) OR (%qupcase(&packagesNames.) = HELP) %then
@@ -6275,7 +6275,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 `20260514` #; %put # Macro wrapper for the loadPackage macro, version `20260515` #;
%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 #;
@@ -6373,7 +6373,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 20260514. Run %verifyPackage() for help info.' des = 'Macro to verify SAS package with the hash digest, version 20260515. Run %verifyPackage() for help info.'
; ;
%if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then %if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then
%do; %do;
@@ -6388,7 +6388,7 @@ des = 'Macro to verify SAS package with the hash digest, version 20260514. 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 `20260514` #; %put # Macro to verify SAS package with it hash digest, version `20260515` #;
%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 #;
@@ -6604,7 +6604,7 @@ des = 'Macro to verify SAS package with the hash digest, version 20260514. Run %
*/ */
)/secure )/secure
/*** HELP END ***/ /*** HELP END ***/
des = 'Macro to preview content of a SAS package, version 20260514. Run %previewPackage() for help info.' des = 'Macro to preview content of a SAS package, version 20260515. Run %previewPackage() for help info.'
; ;
%if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then %if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then
%do; %do;
@@ -6619,7 +6619,7 @@ des = 'Macro to preview content of a SAS package, version 20260514. 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 `20260514` #; %put # Macro to get preview of a SAS packages, version `20260515` #;
%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 #;
@@ -6753,7 +6753,7 @@ des = 'Macro to preview content of a SAS package, version 20260514. 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 20260514. Run %extendPackagesFileref(HELP) for help info.' des = 'Macro to list directories pointed by "packages" fileref, version 20260515. Run %extendPackagesFileref(HELP) for help info.'
; ;
%if %QUPCASE(&packages.) = HELP %then %if %QUPCASE(&packages.) = HELP %then
@@ -6769,7 +6769,7 @@ des = 'Macro to list directories pointed by "packages" fileref, version 20260514
%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 `20260514` #; %put # Macro to list directories pointed by 'packages' fileref, version `20260515` #;
%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 #;
@@ -6871,7 +6871,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 20260514. Run %loadPackageAddCnt() for help info.' des = 'Macro to load additional content for a SAS package, version 20260515. Run %loadPackageAddCnt() for help info.'
minoperator minoperator
; ;
%if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then %if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then
@@ -6887,7 +6887,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 `20260514` #; %put # Macro to *load* additional content for a SAS package, version `20260515` #;
%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 #;
@@ -7258,7 +7258,7 @@ minoperator
,nobs=0 /* technical parameter */ ,nobs=0 /* technical parameter */
) )
/*** HELP END ***/ /*** HELP END ***/
/ des = 'Utility macro to split "one big" code into multiple files for a SAS package, version 20260514. Run %splitCodeForPackage() for help info.' / des = 'Utility macro to split "one big" code into multiple files for a SAS package, version 20260515. Run %splitCodeForPackage() for help info.'
; ;
%if (%superq(codeFile) = ) OR (%qupcase(&codeFile.) = HELP) %then %if (%superq(codeFile) = ) OR (%qupcase(&codeFile.) = HELP) %then
%do; %do;
@@ -7274,7 +7274,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 `20260514` #; %put # files with separate snippets, version `20260515` #;
%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 #;
@@ -7650,7 +7650,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 20260514. */'; put '/* File generated with help of SAS Packages Framework, version 20260515. */';
firstLine[j]=0; firstLine[j]=0;
end; end;
put _infile_; put _infile_;
@@ -7683,7 +7683,7 @@ options &options_tmp2.;
,psMAX=MAX /* pageSise in case executed inside DoSubL() */ ,psMAX=MAX /* pageSise in case executed inside DoSubL() */
,ods= /* a data set for results, e.g., work.relocatePackageReport */ ,ods= /* a data set for results, e.g., work.relocatePackageReport */
) )
/ des = 'Utility macro that locally Copies or Moves Packages, version 20260514. Run %relocatePackage() for help info.' / des = 'Utility macro that locally Copies or Moves Packages, version 20260515. Run %relocatePackage() for help info.'
secure secure
minoperator minoperator
; ;
@@ -7701,7 +7701,7 @@ options &options_tmp2.;
%put ### This is short help information for the `relocatePackage` macro #; %put ### This is short help information for the `relocatePackage` macro #;
%put #-------------------------------------------------------------------------------#; %put #-------------------------------------------------------------------------------#;
%put # #; %put # #;
%put # Macro to *locally copy or move* (relocate) SAS packages, version `20260514` #; %put # Macro to *locally copy or move* (relocate) SAS packages, version `20260515` #;
%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 #;
@@ -8366,7 +8366,7 @@ filename PACKAGES ("R:\testPackages2" "R:\testPackages1");
vERRb /* indicates if macro should be verbose and report errors */ vERRb /* indicates if macro should be verbose and report errors */
) )
/ minoperator PARMBUFF / minoperator PARMBUFF
des = 'Macro to check if the PACKAGES fileref is "correct", type %isPackagesFilerefOK(HELP) for help, version 20260514.' des = 'Macro to check if the PACKAGES fileref is "correct", type %isPackagesFilerefOK(HELP) for help, version 20260515.'
; ;
/*** HELP END ***/ /*** HELP END ***/
%if %QUPCASE(&SYSPBUFF.) = %str(%(HELP%)) %then %if %QUPCASE(&SYSPBUFF.) = %str(%(HELP%)) %then
@@ -8382,7 +8382,7 @@ des = 'Macro to check if the PACKAGES fileref is "correct", type %isPackagesFile
%put ### This is short help information for the `isPackagesFilerefOK` macro #; %put ### This is short help information for the `isPackagesFilerefOK` macro #;
%put #-----------------------------------------------------------------------------------------#;; %put #-----------------------------------------------------------------------------------------#;;
%put # #; %put # #;
%put # Macro to check if the `packages` fileref is "correct", version `20260514` #; %put # Macro to check if the `packages` fileref is "correct", version `20260515` #;
%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 #;
@@ -8516,7 +8516,7 @@ SPFmacroName /* space separated list of names */
/ /
minoperator minoperator
secure secure
des = 'Macro to provide help notes about SAS Packages Framework macros, version 20260514. Run %SasPackagesFrameworkNotes(HELP) for help info.' des = 'Macro to provide help notes about SAS Packages Framework macros, version 20260515. Run %SasPackagesFrameworkNotes(HELP) for help info.'
; ;
%local list N i element; %local list N i element;
%let list= %let list=
@@ -8562,7 +8562,7 @@ SasPackagesFrameworkNotes
%put ### This is short help information for the `SasPackagesFrameworkNotes` macro #; %put ### This is short help information for the `SasPackagesFrameworkNotes` macro #;
%put #-------------------------------------------------------------------------------#; %put #-------------------------------------------------------------------------------#;
%put # #; %put # #;
%put # Macro prints help notes for SAS Packages Framework macros, version `20260514` #; %put # Macro prints help notes for SAS Packages Framework macros, version `20260515` #;
%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 #;
@@ -8685,7 +8685,7 @@ options mlogic symbolgen;
,packagesRef=packages ,packagesRef=packages
,ods= /* data set for report file */ ,ods= /* data set for report file */
)/ )/
des='Macro to create a bundle of SAS packages, version 20260514. Run %bundlePackages(HELP) for help info.' des='Macro to create a bundle of SAS packages, version 20260515. Run %bundlePackages(HELP) for help info.'
secure minoperator secure minoperator
; ;
@@ -8702,7 +8702,7 @@ secure minoperator
%put ### This is short help information for the `bundlePackages` macro #; %put ### This is short help information for the `bundlePackages` macro #;
%put #-------------------------------------------------------------------------------#; %put #-------------------------------------------------------------------------------#;
%put # #; %put # #;
%put # Macro to *create bundles* of SAS packages, version `20260514` #; %put # Macro to *create bundles* of SAS packages, version `20260515` #;
%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 #;
@@ -9192,9 +9192,11 @@ filename p2 "R:/dontexist";
,packagesPath= ,packagesPath=
,packagesRef=packages ,packagesRef=packages
,ods= /* data set for report file */ ,ods= /* data set for report file */
,reportOnly=0
,verify=0 ,verify=0
,quiet=0
)/ )/
des='Macro to extract a bundle of SAS packages, version 20260514. Run %unbundlePackages(HELP) for help info.' des='Macro to extract a bundle of SAS packages, version 20260515. Run %unbundlePackages(HELP) for help info.'
secure secure
minoperator minoperator
; ;
@@ -9212,7 +9214,7 @@ minoperator
%put ### This is short help information for the `unbundlePackages` macro #; %put ### This is short help information for the `unbundlePackages` macro #;
%put #-------------------------------------------------------------------------------#; %put #-------------------------------------------------------------------------------#;
%put # #; %put # #;
%put # Macro to *extract* SAS packages from a bundle, version `20260514` #; %put # Macro to *extract* SAS packages from a bundle, version `20260515` #;
%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 #;
@@ -9248,7 +9250,16 @@ minoperator
%put # #; %put # #;
%put # - `verify=` *Optional.* Indicates if verification code should #; %put # - `verify=` *Optional.* Indicates if verification code should #;
%put # be executed after bundle extraction. #; %put # be executed after bundle extraction. #;
%put # Value `1` means yes, Value `0` means no. #; %put # Value `1` means yes, Value `0` (default) means no. #;
%put # #;
%put # - `reportOnly=` *Optional.* Indicates if packages unbundling should #;
%put # be suspended and only a report with bundle content #;
%put # be produced and printed. #;
%put # Value `1` means yes, Value `0` (default) means no. #;
%put # #;
%put # - `quiet=` *Optional.* Indicates if printout of the summary #;
%put # report should be suspended. #;
%put # Value `1` means yes, Value `0` (default) means no. #;
%put # #; %put # #;
%put #-------------------------------------------------------------------------------#; %put #-------------------------------------------------------------------------------#;
%put # #; %put # #;
@@ -9296,6 +9307,11 @@ minoperator
/*===================================================================================================*/ /*===================================================================================================*/
%if NOT(%superq(verify) in (0 1)) %then %let verify=0; %if NOT(%superq(verify) in (0 1)) %then %let verify=0;
%if NOT(%superq(quiet) in (0 1)) %then %let quiet=0;
%if NOT(%superq(reportOnly) in (0 1)) %then %let reportOnly=0;
/* no verification when reporting */
%if 1=&reportOnly. %then %let verify=0;
%local HASHING_FILE_exist; %local HASHING_FILE_exist;
%let HASHING_FILE_exist = 0; %let HASHING_FILE_exist = 0;
@@ -9345,42 +9361,47 @@ length packagesPath $ 32767 packagesRef $ 8;
packagesPath = dequote(symget('packagesPath')); packagesPath = dequote(symget('packagesPath'));
packagesRef = upcase(strip(symget('packagesRef'))); packagesRef = upcase(strip(symget('packagesRef')));
/* organize target path (location for packages) */ if 0 then set SASHELP.VEXTFL(keep=level xpath xengine fileref exists);
if " "=packagesPath then
do;
if 0 then set SASHELP.VEXTFL(keep=level xpath xengine fileref exists);
DECLARE HASH sH(dataset:'SASHELP.VEXTFL(where=(fileref=' !! quote(packagesRef) !! '))', ordered: "A");
sH.DefineKey("level");
sH.DefineData("xpath","xengine","exists");
sH.DefineDone();
if sH.NUM_ITEMS=0 then /* ignore target check when only report is requested */
%if 0=&reportOnly. %then
%do;
/* organize target path (location for packages) */
if " "=packagesPath then
do; do;
put "ERROR: Fileref in packagesRef= does NOT exist. Exiting!"; DECLARE HASH sH(dataset:'SASHELP.VEXTFL(where=(fileref=' !! quote(packagesRef) !! '))', ordered: "A");
stop; sH.DefineKey("level");
sH.DefineData("xpath","xengine","exists");
sH.DefineDone();
if sH.NUM_ITEMS=0 then
do;
put "ERROR: Fileref in packagesRef= does NOT exist. Exiting!";
stop;
end;
packagesPath=" ";
rc = sH.FIND(key:NOT(1=sH.NUM_ITEMS)); /* if only 1 element select level 0, if more than 1 select level 1 */
if xengine = "DISK" AND exists='yes' then
packagesPath=quote(strip(xpath)); /* add quotes to the packagesPath */
else
do;
put "ERROR: Path: " xpath "in packagesRef= is invalid! Exiting!";
stop;
end;
end; end;
packagesPath=" ";
rc = sH.FIND(key:NOT(1=sH.NUM_ITEMS)); /* if only 1 element select level 0, if more than 1 select level 1 */
if xengine = "DISK" AND exists='yes' then
packagesPath=quote(strip(xpath)); /* add quotes to the packagesPath */
else else
do; do;
put "ERROR: Path: " xpath "in packagesRef= is invalid! Exiting!"; rcPckPath = fileexist(strip(packagesPath));
stop; if 0=rcPckPath then
do;
put "ERROR: Path in packagesPath= does NOT exist. Exiting!";
stop;
end;
else packagesPath=quote(strip(packagesPath)); /* add quotes to the packagesPath */
end; end;
end; %end;
else
do;
rcPckPath = fileexist(strip(packagesPath));
if 0=rcPckPath then
do;
put "ERROR: Path in packagesPath= does NOT exist. Exiting!";
stop;
end;
else packagesPath=quote(strip(packagesPath)); /* add quotes to the packagesPath */
end;
length path $ 32767 pathRef $ 8; length path $ 32767 pathRef $ 8;
path = dequote(symget('path')); path = dequote(symget('path'));
@@ -9463,7 +9484,7 @@ DECLARE HITER IQ("Q");
/*--------------------------------------------------*/ /*--------------------------------------------------*/
do until(EOF); do until(EOF);
input package :$32. pckVer :$16. pckDtm :$16. hash :$128.; input package :$32. pckVer :$16. pckDtm :$24. hash :$128.;
if " " NE package then rc = Q.ADD(); if " " NE package then rc = Q.ADD();
end; end;
label package="Package name" label package="Package name"
@@ -9484,25 +9505,29 @@ else
rc = Q.output(dataset: /* create propper tag */ rc = Q.output(dataset: /* create propper tag */
%if %superq(ods) NE %then %do; "&ods." %end; %if %superq(ods) NE %then %do; "&ods.(label='Bundle: " !! strip(bundleName) !! "')" %end;
%else %do; "&reportFile.1" %end; %else %do; "&reportFile.1" %end;
); );
/* code executed for unbundling */ /* code executed for unbundling */
length code1 code2 $ 32767; length code1 code2 $ 32767;
code1= %if 0=&reportOnly. %then
'options ps=min nofullstimer nostimer msglevel=N; filename PACKAGES ' !! strip(packagesPath) !! ';' !! %do;
'%relocatePackage(' !! strip(packagesList) !! ',source=' !! catx("/", path, bundleName) !! code1=
'.bundle.zip, sDevice=ZIP,psMAX=MIN)'; 'options ps=min nofullstimer nostimer msglevel=N; filename PACKAGES ' !! strip(packagesPath) !! ';' !!
'%relocatePackage(' !! strip(packagesList) !! ',source=' !! catx("/", path, bundleName) !!
'.bundle.zip, sDevice=ZIP,psMAX=MIN)';
/*put code=;*/ /*put code=;*/
put / "INFO: The " bundleName "bundle extraction in progress..."; put / "INFO: The " bundleName "bundle extraction in progress...";
rc = doSubL(code1); rc = doSubL(code1);
put / "INFO: The " bundleName "bundle extraction ended.";
%end;
put / "INFO: The " bundleName "bundle extraction ended.";
/* code executed for verification */ /* code executed for verification */
%if 1=&verify. %then %if 1=&verify. %then
@@ -9518,11 +9543,15 @@ put / "INFO: The " bundleName "bundle extraction ended.";
put " "; put " ";
rc=sleep(1,1); rc=sleep(1,1);
rc = doSubL("title 'Summary of the extracted bundle file';" !! rc = doSubL(
"proc print label data=" !! %if 0=&quiet. %then /* do not print report */
%if %superq(ods) NE %then %do; "&ods." %end; %do;
%else %do; "&reportFile.1" %end; !! "title 'Summary of the bundle file: " !! strip(bundleName) !! "';" !!
"; var package pckVer pckDtm hash; run;" !! "proc print label data=" !!
%if %superq(ods) NE %then %do; "&ods." %end;
%else %do; "&reportFile.1" %end; !!
"; var package pckVer pckDtm hash; run;" !!
%end;
%if %superq(ods) NE %then %if %superq(ods) NE %then
%do; %put INFO: Report file: &ods.; %end; %do; %put INFO: Report file: &ods.; %end;
%else %else
@@ -9578,6 +9607,41 @@ options mprint;
,packagesPath=R:\check ,packagesPath=R:\check
,verify=1 ,verify=1
) )
*/
/* reportOnly & quiet
%bundlePackages(myLittleBundle
,path=R:\
,packagesList=basePlus SQLinDS macroarray
,packagesRef=PACKAGES)
option dlcreatedir;
libname _ "R:\check5";
%unbundlePackages(myLittleBundle
,path=R:\
,reportOnly=1
,ods=work.bundleReport1)
%unbundlePackages(myLittleBundle
,path=R:\
,reportOnly=1
,ods=work.bundleReport2
,quiet=1)
%unbundlePackages(myLittleBundle
,path=R:\
,packagesPath=R:\check5
,ods=work.bundleReport3
,quiet=1, verify=1)
%unbundlePackages(myLittleBundle
,path=R:\
,packagesPath=R:\check5
,ods=work.bundleReport4
,quiet=0, verify=1)
*/ */
@@ -9586,7 +9650,7 @@ options mprint;
%macro SPFinit_intrnl_forceV7DSname( %macro SPFinit_intrnl_forceV7DSname(
mcParam /* name of a macro parameter holding user provided data set name */ mcParam /* name of a macro parameter holding user provided data set name */
)/secure minoperator )/secure minoperator
des='SAS Packages Framework internal macro. Executable only inside selected SPF macros. Macro generates 4GL code that forces V7 compatybility for user provided data set names. Version 20260514.'; des='SAS Packages Framework internal macro. Executable only inside selected SPF macros. Macro generates 4GL code that forces V7 compatybility for user provided data set names. Version 20260515.';
/* The macro can be called only inside a data step. */ /* The macro can be called only inside a data step. */
/**************************************************************************** /****************************************************************************
### Parameters: ### Parameters: