BookmarkSubscribeRSS Feed
yabwon
Amethyst | Level 16

Hey SAS-C,

Just FYI.

Bart

 

SAS Packages Framework, version 20260202

Available as usual at: https://github.com/yabwon/SAS_PACKAGES

 

The idea for this update was suggested to me by Magnus Mengelbier (guthub: mmengelbier). Thanks Magnus!


Changes and modifications:

A) If the hash= parameter is not provided the %verifyPackage() macro prints SHA256, SHA1, and MD5 check-sums for the package to the log now. If you need hashes as additional information in the log (e.g., for auditing purpose) you can now easily get them.

B) Small aesthetic fix in the %unbundlePackages() macro.

C) A bunch of general code simplifications.

D) Documentation updated.

E) Packages regenerated with the latest version of the framework:

  • BasePlus, SHA256 for the package: F*B762F900EEFF7035880891D89416C0F973E4D377BCB75486283363A9BDADBA82
  • DFA, SHA256 for the package: F*17C88537F5FA9BCFAA1AC4803D0F1EF47665C8446A44C82B5558A08315DF0C49

Examples

Example 1. With updates from the previous release printing audit information (including check-sums) for a package is now a piece of cake. Let's do it for the MacroArray package:

%let packageName=MacroArray; /* macrovariable for convenience */

%loadPackage(&packageName.)
%helpPackage(&packageName.)

%put Audit metadata for the: &packageName. package: ;
%put Authors: %&packageName.Meta(A);
%put Version: %&packageName.Meta(V);
%put Generation datetime: %&packageName.Meta(D);
%put Maintainers: %&packageName.Meta(M);
%put Required packages list: %&packageName.Meta(P);
%put Required SAS components list: %&packageName.Meta(S);
/* check-sums */
%verifyPackage(&packageName.)
 
_______________
Polish SAS Users Group: www.polsug.com and communities.sas.com/polsug

"SAS Packages: the way to share" at SGF2020 Proceedings (the latest version), GitHub Repository, and YouTube Video.
Hands-on-Workshop: "Share your code with SAS Packages"
"My First SAS Package: A How-To" at SGF2021 Proceedings

SAS Ballot Ideas: one: SPF in SAS, two, and three
SAS Documentation



How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 0 replies
  • 35 views
  • 0 likes
  • 1 in conversation