Compare commits

..
122 Commits
Author SHA1 Message Date
Bart JablonskiandGitHub 4f2a2994c4 Merge pull request #139 from yabwon/main
SAS Packages Framework, version 20260617
2026-06-17 19:27:14 +02:00
Bart JablonskiandGitHub 9945bdc368 Merge pull request #138 from yabwon/main
SAS Packages Framework, version `20260615`
2026-06-15 23:43:02 +02:00
Bart JablonskiandGitHub c38da44b51 Merge pull request #134 from yabwon/main
SAS Packages Framework, version 20260602
2026-06-03 01:01:28 +02:00
Bart JablonskiandGitHub 1144c78667 Merge pull request #133 from yabwon/main
The BasePlus package, version: 3.2.0
2026-05-28 12:16:38 +02:00
Bart JablonskiandGitHub 033d621434 Merge pull request #132 from yabwon/main
SAS Packages Framework, version 20260515
2026-05-16 00:04:46 +02:00
Bart JablonskiandGitHub a843fc3a4e Merge pull request #131 from yabwon/main
SAS Packages Framework, version 20260514
2026-05-14 14:20:39 +02:00
Bart JablonskiandGitHub a20470925c Merge pull request #130 from yabwon/main
Merge
2026-05-11 14:43:40 +02:00
Bart JablonskiandGitHub c0fa43857e Merge pull request #128 from yabwon/main
SAS Packages Framework, version 20260411
2026-04-10 19:33:25 +02:00
Bart JablonskiandGitHub e355fc4eec Merge pull request #127 from yabwon/main
SAS Packages Framework, version 20260409
2026-04-09 13:50:06 +02:00
Bart JablonskiandGitHub 8f939144ba Merge pull request #126 from yabwon/main
SAS Packages Framework, version 20260216
2026-02-16 20:52:08 +01:00
Bart JablonskiandGitHub d24ae821f5 Merge pull request #125 from yabwon/main
SAS Packages Framework, version 20260205
2026-02-05 16:05:43 +01:00
Bart JablonskiandGitHub 1668cfe6e4 Merge pull request #124 from yabwon/main
SAS Packages Framework, version 20260125
2026-01-25 12:18:13 +01:00
Bart JablonskiandGitHub ff1be76f9d Merge pull request #123 from yabwon/main
SAS Packages Framework, version 20251231
2025-12-31 15:43:03 +01:00
Bart JablonskiandGitHub 0f7babea91 Merge pull request #122 from yabwon/main
SAS Packages Framework, version 20251221
2025-12-21 22:06:53 +01:00
Bart JablonskiandGitHub 3c29e9eb9c Merge pull request #121 from yabwon/main
SAS Packages Framework, version 20251221
2025-12-21 21:33:27 +01:00
Bart JablonskiandGitHub 37419f1826 Merge pull request #119 from yabwon/main
SAS Packages Framework, version 20251126
2025-11-26 21:22:49 +01:00
Bart JablonskiandGitHub f61e68490a Merge pull request #118 from yabwon/main
SAS Packages Framework, version 20251122
2025-11-22 13:20:08 +01:00
Bart JablonskiandGitHub b8d5f286d2 Merge pull request #117 from yabwon/main
pull request
2025-11-21 11:15:45 +01:00
Bart JablonskiandGitHub 8d8186fc78 Merge pull request #116 from yabwon/main
SAS Packages Framework, version 20251017
2025-10-19 21:54:35 +02:00
Bart JablonskiandGitHub 1d83c65a9b Merge pull request #114 from yabwon/main
pull request
2025-09-09 22:46:31 +02:00
Bart JablonskiandGitHub e8d1269f6c Merge pull request #113 from yabwon/main
The BasePlus package [ver. 2.3.1]
2025-08-05 14:19:19 -04:00
Bart JablonskiandGitHub ba34a71ffe Merge pull request #112 from yabwon/main
SAS Packages Framework, version 20250729
2025-07-29 05:52:46 -04:00
Bart JablonskiandGitHub ff758fc2cc Merge pull request #111 from yabwon/main
SAS Packages Framework, version 20250728
2025-07-28 05:53:45 -04:00
Bart JablonskiandGitHub 35b30ca45e Merge pull request #110 from yabwon/main
SAS Packages Framework, version 20250710
2025-07-10 08:04:33 -04:00
Bart JablonskiandGitHub bfdede5dd4 Merge pull request #109 from yabwon/main
update README.md
2025-06-11 13:32:59 -04:00
Bart JablonskiandGitHub 856c73758f Merge pull request #108 from yabwon/main
SAS Packages Framework, version 20241207
2024-12-07 23:13:42 +01:00
Bart JablonskiandGitHub 104c38ab2c Merge pull request #107 from yabwon/main
SAS Packages Framework, version 20241129
2024-11-29 17:08:10 +01:00
Bart JablonskiandGitHub 9a7b81c2ad Merge pull request #106 from yabwon/main
SAS Packages Framework, version 20241102
2024-11-02 22:24:21 +01:00
Bart JablonskiandGitHub a56da0fa4f Merge pull request #105 from yabwon/main
SAS Packages Framework, version 20241027
2024-10-28 10:34:16 +01:00
Bart JablonskiandGitHub edeb1729b5 Merge pull request #104 from yabwon/main
SAS Packages Framework, version `20241014`
2024-10-14 21:44:37 +02:00
Bart JablonskiandGitHub 9b2ec979e4 Merge pull request #103 from yabwon/main
SAS Packages Framework, version 20240927
2024-09-27 11:27:06 +02:00
Bart JablonskiandGitHub efda10b412 Merge pull request #102 from yabwon/main
The BasePlus package [ver. 2.0.1]
2024-07-24 08:11:27 +02:00
Bart JablonskiandGitHub 78a79d1fc7 Merge pull request #101 from yabwon/main
The BasePlus package [ver. 2.0.0]
2024-07-23 22:17:14 +02:00
Bart JablonskiandGitHub e61a9689df Merge pull request #100 from yabwon/main
The BasePlus package [ver. 1.43.0]
2024-07-22 09:06:08 +02:00
Bart JablonskiandGitHub 044019608f Merge pull request #99 from yabwon/main
The BasePlus package [ver. 1.42.1]
2024-07-19 10:30:22 +02:00
Bart JablonskiandGitHub fedf5b894d Merge pull request #98 from yabwon/main
SAS Packages Framework, version `20240711`
2024-07-11 14:59:42 +02:00
Bart JablonskiandGitHub 3c30e7d17c Merge pull request #97 from yabwon/main
The BasePlus package [ver. 1.42.0]
2024-07-10 23:09:57 +02:00
Bart JablonskiandGitHub a99b75ffe9 Merge pull request #96 from yabwon/main
The BasePlus package [ver. 1.40.0]
2024-06-06 22:23:23 +02:00
Bart JablonskiandGitHub e7357877f0 Merge pull request #95 from yabwon/main
SAS Packages Framework, version `20240529`
2024-05-29 16:39:15 +02:00
Bart JablonskiandGitHub 05946c92ce Merge pull request #94 from yabwon/main
SAS Packages Framework, version 20240423
2024-04-23 11:33:44 +02:00
Bart JablonskiandGitHub b3b36174af Merge pull request #93 from yabwon/main
SAS Packages Framework, version 20240415
2024-04-15 19:33:16 +02:00
Bart Jablonski 62fd354c6d SAS Packages Framework, version 20240415
SAS Packages Framework, version 20240415

Features:

- In the `%generatePackage()` macro, when `markdownDoc=` parameters is used, package files can be "excluded" from being used to produce documentation markdown file.

- Documentation updated.
2024-04-15 19:24:07 +02:00
Bart JablonskiandGitHub 7f97b47a21 Merge pull request #92 from yabwon/main
The BasePlus package [ver. 1.38.0]
2024-03-12 14:48:52 +01:00
Bart JablonskiandGitHub 340d13e56f Merge pull request #91 from yabwon/main
The BasePlus package [ver. 1.37.0]
2024-03-09 13:57:50 +01:00
Bart JablonskiandGitHub d68697ea77 Merge pull request #90 from yabwon/main
SAS Packages Framework, version 20231210
2023-12-12 11:54:30 +01:00
Bart JablonskiandGitHub 9bb8354faa Merge pull request #88 from yabwon/main
The macroArray package [ver. 1.2.6]
2023-12-01 12:56:02 +01:00
Bart JablonskiandGitHub d0ff15fe80 Merge pull request #87 from yabwon/main
SAS Packages Framework, version `20231123`
2023-11-29 17:07:12 +01:00
Bart JablonskiandGitHub fe70185832 Merge pull request #86 from yabwon/main
The BasePlus package [ver. 1.35.0]
2023-11-14 14:45:52 +01:00
Bart JablonskiandGitHub 83bef9fe30 Merge pull request #85 from yabwon/main
The BasePlus package [ver. 1.35.0]
2023-11-14 14:38:31 +01:00
Bart JablonskiandGitHub fd0a67de4e Merge pull request #84 from yabwon/main
SAS Packages Framework, version `20231107`
2023-11-07 12:41:48 +01:00
Bart JablonskiandGitHub 60405c2226 Merge pull request #83 from yabwon/main
The BasePlus package [ver. 1.32.0]
2023-10-26 13:49:52 +02:00
Bart JablonskiandGitHub b6c554d994 Merge pull request #82 from yabwon/main
SAS Packages Framework version 20231024
2023-10-24 14:52:38 +02:00
Bart JablonskiandGitHub b7ce4778bb Merge pull request #81 from yabwon/main
SAS Packages Framework version 20231009
2023-10-09 18:06:42 +02:00
Bart JablonskiandGitHub 956cfce026 Merge pull request #80 from yabwon/main
The BasePlus package [ver. 1.30.0]
2023-09-19 17:45:24 +02:00
Bart JablonskiandGitHub 2c1a7eacc3 Merge pull request #79 from yabwon/main
The macroArray package [ver. 1.1.0]
2023-09-06 23:11:22 +02:00
Bart JablonskiandGitHub 1a6f0c0013 Merge pull request #78 from yabwon/main
SAS Packages Framework, version `20230904`
2023-09-04 16:44:32 +02:00
Bart JablonskiandGitHub 8a30b5a918 Merge pull request #77 from yabwon/main
The BasePlus package [ver. 1.29.0]
2023-08-24 11:33:19 +02:00
Bart JablonskiandGitHub b209d022b3 Merge pull request #76 from yabwon/main
The GSM package [ver. 0.21.0]
2023-07-27 11:15:52 +02:00
Bart JablonskiandGitHub 680c021f72 Merge pull request #75 from yabwon/main
The BasePlus package [ver. 1.26.1]
2023-06-02 11:43:43 +02:00
Bart JablonskiandGitHub ad15aa0e3b Merge pull request #74 from yabwon/main
The BasePlus package [ver. 1.26.0]
2023-06-01 17:51:17 +02:00
Bart JablonskiandGitHub b78dac17e7 Merge pull request #73 from yabwon/main
The BasePlus package [ver. 1.26.0]
2023-06-01 17:05:47 +02:00
Bart JablonskiandGitHub 974f617772 Merge pull request #72 from yabwon/main
The BasePlus package [ver. 1.24.2]
2023-05-26 11:19:27 +02:00
Bart JablonskiandGitHub 5550b0d1de Merge pull request #71 from yabwon/main
SAS Packages Framework, version 20230520
2023-05-20 17:37:21 +02:00
Bart JablonskiandGitHub 0979066509 Merge pull request #70 from yabwon/main
pull request
2023-05-03 23:06:54 +02:00
Bart JablonskiandGitHub 344619d195 Merge pull request #69 from yabwon/main
The BasePlus package [ver. 1.20.0]
2023-04-17 14:58:51 +02:00
Bart JablonskiandGitHub a7c6a670bf Merge pull request #68 from yabwon/main
SAS Packages Framework, version 20230411
2023-04-11 18:41:16 +02:00
Bart JablonskiandGitHub 01513d9cdb Merge pull request #67 from yabwon/main
Pull request
2023-04-02 18:37:25 +02:00
Bart JablonskiandGitHub 62ad0c1045 Merge pull request #66 from yabwon/main
SAS Packages Framework, version 20230207
2023-02-07 18:09:36 +01:00
Bart JablonskiandGitHub be6d41ae7d Merge pull request #65 from yabwon/main
SAS Packages Framework, version 20230112
2023-01-12 17:30:31 +01:00
Bart JablonskiandGitHub c92edcbbd6 Merge pull request #64 from yabwon/main
SAS Packages Framework, version 20221215
2022-12-15 18:09:02 +01:00
Bart JablonskiandGitHub b6f9a65f5f Merge pull request #63 from yabwon/main
SAS Packages Framework, version 20221212
2022-12-12 23:45:30 +01:00
Bart JablonskiandGitHub d8451c08bc Merge pull request #62 from yabwon/main
SAS Packages Framework, version 20221125
2022-11-26 23:53:51 +01:00
Bart JablonskiandGitHub 565d7d3f6e Merge pull request #61 from yabwon/main
SAS Packages Framework, version 20221121
2022-11-21 14:31:45 +01:00
Bart JablonskiandGitHub f2a72739c7 Merge pull request #60 from yabwon/main
Bunch of small updates
2022-11-13 20:20:30 +01:00
Bart JablonskiandGitHub 394aaab3be Merge pull request #59 from yabwon/main
SAS Packages Framework, version 20221112
2022-11-12 17:31:22 +01:00
Bart JablonskiandGitHub 88e97ecd7f Merge pull request #58 from yabwon/main
SAS Packages Framework, version 20221107
2022-11-07 10:48:49 +01:00
Bart JablonskiandGitHub ebcad71357 Merge pull request #57 from yabwon/main
SAS Packages Framework, ver. 20221022
2022-10-22 22:19:56 +02:00
Bart JablonskiandGitHub e9e3518b6a Merge pull request #56 from yabwon/main
SAS Packages Framework, version 20221002
2022-10-01 12:15:38 +02:00
Bart JablonskiandGitHub e17c325e5c Merge pull request #55 from yabwon/main
SAS Packages Framework, version 20221001
2022-10-01 01:11:49 +02:00
Bart JablonskiandGitHub 6891d9d4c6 Merge pull request #54 from yabwon/main
**SAS Packages Framework**, version 20220930.
2022-09-30 20:42:38 +02:00
Bart JablonskiandGitHub 1f093a749b Merge pull request #53 from yabwon/main
SAS Packages Framework, version 20220925, extension
2022-09-28 22:45:35 +02:00
Bart JablonskiandGitHub 9331fa488d Merge pull request #52 from yabwon/main
SAS Packages Framework, version 20220925
2022-09-25 19:17:41 +02:00
Bart JablonskiandGitHub 6194dcb2a0 Merge pull request #51 from yabwon/main
pull request
2022-08-30 19:18:39 +02:00
Bart JablonskiandGitHub bbd018bf61 Merge pull request #49 from yabwon/main
The SAS Packages Framework, version 20220830:
2022-08-30 19:07:19 +02:00
Bart JablonskiandGitHub f3b3b55dba Merge pull request #48 from yabwon/main
Innitiative to add SAS Packages Framework to SAS Base/Viya
2022-05-31 21:55:22 +02:00
Bart JablonskiandGitHub bd3a78adfd Merge pull request #47 from yabwon/main
The BasePlus package [ver. 1.17]
2022-05-11 23:48:25 +02:00
Bart JablonskiandGitHub 6487d74aaf Merge pull request #46 from yabwon/main
The BasePlus package [ver. 1.16]
2022-05-09 19:07:45 +02:00
Bart JablonskiandGitHub 4c734caeec Merge pull request #45 from yabwon/main
The BasePlus package [ver. 1.15]
2022-05-08 19:18:26 +02:00
Bart JablonskiandGitHub 11400fe51d Merge pull request #44 from yabwon/main
**SAS Packages Framework**, version 20220420
2022-04-20 22:40:24 +02:00
Bart JablonskiandGitHub 6e5d4c3872 Merge pull request #43 from yabwon/main
The GSM package [ver. 0.20]
2022-04-06 18:15:35 +02:00
Bart JablonskiandGitHub 3ccf2490e1 Merge pull request #42 from yabwon/main
The GSM package [ver. 0.19]
2022-03-13 20:45:35 +01:00
Bart JablonskiandGitHub 9273e80a16 Merge pull request #41 from yabwon/main
The GSM package [ver. 0.18]
2022-03-07 16:46:02 +01:00
Bart JablonskiandGitHub 5cbe17b513 Merge pull request #40 from yabwon/main
pull request
2022-02-17 14:25:47 +01:00
Bart JablonskiandGitHub 21a713ced7 Merge pull request #39 from yabwon/main
**SAS Packages Framework**, version 20220113
2022-01-13 17:01:35 +01:00
Bart JablonskiandGitHub 0af4000d33 Merge pull request #38 from yabwon/main
BasePlus package [ver. 1.14]
2022-01-11 14:10:58 +01:00
Bart JablonskiandGitHub ae423c362b Merge pull request #37 from yabwon/main
BasePlus package [ver. 1.13]
2022-01-11 11:07:18 +01:00
Bart JablonskiandGitHub 705a600534 Merge pull request #36 from yabwon/main
Package MacroArray, version 0.9
2021-12-28 18:34:13 +01:00
Bart JablonskiandGitHub 2137c04534 Merge pull request #35 from yabwon/main
pull request
2021-12-16 10:41:37 +01:00
Bart JablonskiandGitHub 49bcb64e51 Merge pull request #34 from yabwon/main
SAS Packages Framework, version 220211216
2021-12-16 10:19:42 +01:00
Bart JablonskiandGitHub 8bdf820958 Merge pull request #31 from yabwon/main
Package BasePlus, version 1.12
2021-11-23 12:52:43 +01:00
Bart JablonskiandGitHub 2045048ff3 Merge pull request #30 from yabwon/main
Package BasePlus, version 1.11
2021-11-19 17:09:53 +01:00
Bart JablonskiandGitHub f4007a22df Merge pull request #29 from yabwon/main
Package BasePlus, version 1.1
2021-11-14 16:14:43 +01:00
Bart JablonskiandGitHub 96952896a2 Merge pull request #28 from yabwon/main
Package BasePlus, version 1.0
2021-11-13 22:55:51 +01:00
Bart JablonskiandGitHub f886a42b77 Merge pull request #27 from yabwon/main
pull request
2021-11-12 13:59:57 +01:00
Bart JablonskiandGitHub 612e955983 Merge pull request #26 from yabwon/main
Package GSM, version 0.16
2021-11-12 11:14:29 +01:00
Bart JablonskiandGitHub 907ad0865d Merge pull request #25 from yabwon/main
SAS Packages Framework, version 20211111
2021-11-10 20:25:29 +01:00
Bart JablonskiandGitHub 9d37f157c7 Merge pull request #24 from yabwon/main
**GSM** (Generate Secure Macros) package, version 0.15
2021-11-05 13:50:47 +01:00
Bart JablonskiandGitHub f5159f9557 Merge pull request #23 from yabwon/main
BasePlus, version 0.994
2021-10-05 12:09:11 +02:00
Bart JablonskiandGitHub 033961fba2 Merge pull request #22 from yabwon/main
pull request
2021-10-01 21:23:48 +02:00
Bart JablonskiandGitHub 1e31a9cec4 Merge pull request #21 from yabwon/main
pull request
2021-08-18 23:02:20 +02:00
Bart JablonskiandGitHub 9f8560aa61 Merge pull request #20 from yabwon/main
pull request
2021-07-19 13:02:42 +02:00
Bart JablonskiandGitHub 4599a6e06d Merge pull request #19 from yabwon/main
**SAS Packages Framework**, version 20210528
2021-05-28 14:54:27 +02:00
Bart JablonskiandGitHub 28c8afac49 Merge pull request #18 from yabwon/main
pull request
2021-05-20 15:43:02 +02:00
Bart JablonskiandGitHub aac8a3ca0a Merge pull request #17 from yabwon/main
pull request
2021-05-16 21:46:47 +02:00
yabwon 82bb81624f Merge branch 'master' of https://github.com/yabwon/SAS_PACKAGES 2021-03-30 22:44:25 +02:00
Bart JablonskiandGitHub 9bccf5b9f5 Merge pull request #16 from yabwon/main
pull reques
2021-03-30 22:43:03 +02:00
yabwon cad068d931 Final version of SGF2021 article
Final version of SGF2021 article
2021-03-30 22:39:17 +02:00
Bart JablonskiandGitHub b9c280d983 Merge pull request #15 from yabwon/main
*SAS Packages Framework*, version 20210204
2021-02-04 13:44:09 +01:00
Bart JablonskiandGitHub ca72c14569 Merge pull request #14 from yabwon/main
pull request
2021-02-03 21:21:59 +01:00
Bart JablonskiandGitHub aa84650b42 Merge pull request #13 from yabwon/main
pull request
2021-01-22 17:00:32 +01:00
Bart JablonskiandGitHub 60354ce484 Merge pull request #12 from yabwon/main
pull request
2021-01-17 21:13:38 +01:00
Bart JablonskiandGitHub 793d0c7d6a Merge pull request #11 from yabwon/main
pull request
2021-01-09 21:03:09 +01:00
25 changed files with 358 additions and 358 deletions
+1 -1
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 **`20260710**. **The latest version** of the **SAS Packages Framework** is **`20260617**.
--- ---
+5 -5
View File
@@ -33,7 +33,7 @@
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. SOFTWARE.
*/ */
/**############################################################################**/ /**#############################################################################**/
/*** HELP START ***/ /*** HELP START ***/
/* SPF (SAS Packages Framework) is a set of macros: /* SPF (SAS Packages Framework) is a set of macros:
@@ -43,7 +43,7 @@
- to unload, or - to unload, or
- to generate SAS packages. - to generate SAS packages.
SAS Packages Framework, version 20260710. SAS Packages Framework, version 20260617.
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
@@ -72,7 +72,7 @@ Contributors:
,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 20260710. Run %bundlePackages(HELP) for help info.' des='Macro to create a bundle of SAS packages, version 20260617. Run %bundlePackages(HELP) for help info.'
secure minoperator secure minoperator
; ;
@@ -89,7 +89,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 `20260710` #; %put # Macro to *create bundles* of SAS packages, version `20260617` #;
%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 #;
@@ -490,7 +490,7 @@ run;
/*===================================================================================================*/ /*===================================================================================================*/
/* restore options */ /* restore optionos */
options ls = &ls_tmp. ps = &ps_tmp. options ls = &ls_tmp. ps = &ps_tmp.
&notes_tmp. &source_tmp. &notes_tmp. &source_tmp.
&stimer_tmp. &fullstimer_tmp. &stimer_tmp. &fullstimer_tmp.
+4 -4
View File
@@ -33,7 +33,7 @@
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. SOFTWARE.
*/ */
/**############################################################################**/ /**#############################################################################**/
/*** HELP START ***/ /*** HELP START ***/
/* SPF (SAS Packages Framework) is a set of macros: /* SPF (SAS Packages Framework) is a set of macros:
@@ -43,7 +43,7 @@
- to unload, or - to unload, or
- to generate SAS packages. - to generate SAS packages.
SAS Packages Framework, version 20260710. SAS Packages Framework, version 20260617.
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
@@ -70,7 +70,7 @@ Contributors:
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 20260710. Run %extendPackagesFileref(HELP) for help info.' des = 'Macro to list directories pointed by "packages" fileref, version 20260617. Run %extendPackagesFileref(HELP) for help info.'
; ;
%if %QUPCASE(&packages.) = HELP %then %if %QUPCASE(&packages.) = HELP %then
@@ -86,7 +86,7 @@ des = 'Macro to list directories pointed by "packages" fileref, version 20260710
%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 `20260710` #; %put # Macro to list directories pointed by 'packages' fileref, version `20260617` #;
%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 #;
+64 -64
View File
@@ -33,7 +33,7 @@
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. SOFTWARE.
*/ */
/**############################################################################**/ /**#############################################################################**/
/*** HELP START ***/ /*** HELP START ***/
/* SPF (SAS Packages Framework) is a set of macros: /* SPF (SAS Packages Framework) is a set of macros:
@@ -43,7 +43,7 @@
- to unload, or - to unload, or
- to generate SAS packages. - to generate SAS packages.
SAS Packages Framework, version 20260710. SAS Packages Framework, version 20260617.
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
@@ -67,7 +67,7 @@ Contributors:
Macro to generate SAS packages. Macro to generate SAS packages.
Version 20260710 Version 20260617
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
@@ -95,7 +95,7 @@ Contributors:
if null (the default) the WORK is used */ if null (the default) the WORK is used */
,workInTestResults=0 /* indicates if WORK directories for tests should be located ,workInTestResults=0 /* indicates if WORK directories for tests should be located
in the same place as results */ in the same place as results */
,testWorkPath= /* location where tests SAS session work directories ,testWorkPath= /* location where tests SAS sessions' work directories
should be stored, if null (the default) the main SAS should be stored, if null (the default) the main SAS
session WORK is used. Takes precedence over workInTestResults= */ session WORK is used. Takes precedence over workInTestResults= */
,sasexe= /* a DIRECTORY where the SAS binary is located, ,sasexe= /* a DIRECTORY where the SAS binary is located,
@@ -117,7 +117,7 @@ Contributors:
when empty takes buildLocation */ when empty takes buildLocation */
)/ secure minoperator )/ secure minoperator
/*** HELP END ***/ /*** HELP END ***/
des = 'Macro to generate SAS packages, version 20260710. Run %generatePackage(HELP) for help info.' des = 'Macro to generate SAS packages, version 20260617. Run %generatePackage(HELP) for help info.'
; ;
%if (%superq(filesLocation) = ) OR (%qupcase(&filesLocation.) = HELP) %then %if (%superq(filesLocation) = ) OR (%qupcase(&filesLocation.) = HELP) %then
%do; %do;
@@ -132,7 +132,7 @@ des = 'Macro to generate SAS packages, version 20260710. Run %generatePackage(HE
%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 `20260710` #; %put # Macro to generate SAS packages, version `20260617` #;
%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 #;
@@ -189,8 +189,8 @@ des = 'Macro to generate SAS packages, version 20260710. Run %generatePackage(HE
%put # if null (the default) then the `!SASROOT` is used. #; %put # if null (the default) then the `!SASROOT` is used. #;
%put # #; %put # #;
%put # - `sascfgFile=` Location of a FILE with testing session configuration #; %put # - `sascfgFile=` Location of a FILE with testing session configuration #;
%put # parameters, if null (the default) then no configuration #; %put # parameters, if null (the default) then no config file #;
%put # file is pointed during the SAS invocation, #; %put # is pointed during the SAS invocation, #;
%put # if set to `DEF` then the `!SASROOT/sasv9.cfg` is used. #; %put # if set to `DEF` then the `!SASROOT/sasv9.cfg` is used. #;
%put # #; %put # #;
%put # - `delTestWork=` Indicates if `WORK` directories generated by user tests #; %put # - `delTestWork=` Indicates if `WORK` directories generated by user tests #;
@@ -512,8 +512,7 @@ data _null_;
/* test if version is a number */ /* test if version is a number */
/*data _null_;*/ /* <- comment out, because it can be 1 data step, not 2 */ /*data _null_;*/ /* <- comment out, because it can be 1 data step, not 2 */
length v $ 64; v = "&packageVersion.";
v = symget("packageVersion");
version = coalesce(input(scan(v,1,".","M"), ?? best32.),0)*1e8 version = coalesce(input(scan(v,1,".","M"), ?? best32.),0)*1e8
+ coalesce(input(scan(v,2,".","M"), ?? best32.),0)*1e4 + coalesce(input(scan(v,2,".","M"), ?? best32.),0)*1e4
+ coalesce(input(scan(v,3,".","M"), ?? best32.),0)*1e0 + coalesce(input(scan(v,3,".","M"), ?? best32.),0)*1e0
@@ -521,7 +520,7 @@ data _null_;
if not (version > 0) then if not (version > 0) then
do; do;
put 'ERROR: Package version should be a positive NUMBER.' put 'ERROR: Package version should be a positive NUMBER.'
/ 'ERROR- Current value is: ' v / 'ERROR- Current value is: ' "&packageVersion."
/ 'ERROR- Try something small, e.g. 0.1' / 'ERROR- Try something small, e.g. 0.1'
/ 'ERROR- Aborting.'; / 'ERROR- Aborting.';
put; put;
@@ -1015,7 +1014,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 20260710"; footnote1 "SAS Packages Framework, version 20260617";
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)
@@ -1196,7 +1195,7 @@ data _null_;
/ ' %let pV = %sysevalf((%scan(&pV0.,1,.,M)+0)*1e8 ' / ' %let pV = %sysevalf((%scan(&pV0.,1,.,M)+0)*1e8 '
/ ' + (%scan(&pV0.,2,.,M)+0)*1e4 ' / ' + (%scan(&pV0.,2,.,M)+0)*1e4 '
/ ' + (%scan(&pV0.,3,.,M)+0)*1e0); ' / ' + (%scan(&pV0.,3,.,M)+0)*1e0); '
/ ' '
/ ' %let rV0 = %sysfunc(compress(&requiredVersion.,.,kd)); ' / ' %let rV0 = %sysfunc(compress(&requiredVersion.,.,kd)); '
/ ' %let rVsign = %sysfunc(compress(&requiredVersion.,<=>,k)); ' / ' %let rVsign = %sysfunc(compress(&requiredVersion.,<=>,k)); '
/ ' %if %superq(rVsign)= %then %let rVsign=<=; ' / ' %if %superq(rVsign)= %then %let rVsign=<=; '
@@ -1209,7 +1208,7 @@ data _null_;
/ ' %let rV = %sysevalf((%scan(&rV0.,1,.,M)+0)*1e8 ' / ' %let rV = %sysevalf((%scan(&rV0.,1,.,M)+0)*1e8 '
/ ' + (%scan(&rV0.,2,.,M)+0)*1e4 ' / ' + (%scan(&rV0.,2,.,M)+0)*1e4 '
/ ' + (%scan(&rV0.,3,.,M)+0)*1e0); ' / ' + (%scan(&rV0.,3,.,M)+0)*1e0); '
/ ' '
/ ' %if NOT %sysevalf(&rV. &rVsign. &pV.) %then ' / ' %if NOT %sysevalf(&rV. &rVsign. &pV.) %then '
/ ' %do; ' / ' %do; '
/ ' %put ERROR: Package &packageName. will not be loaded!; ' / ' %put ERROR: Package &packageName. will not be loaded!; '
@@ -1229,8 +1228,8 @@ data _null_;
/ ' %local cherryPick; %let cherryPick=*; ' / ' %local cherryPick; %let cherryPick=*; '
/ ' %local tempLoad_minoperator; ' / ' %local tempLoad_minoperator; '
/ ' %let tempLoad_minoperator = %sysfunc(getoption(minoperator)); ' / ' %let tempLoad_minoperator = %sysfunc(getoption(minoperator)); '
/ " "
/ ' %if %sysevalf(%superq(suppressExec) NE 1,boolean) %then %let suppressExec = 0; ' / ' %if %superq(suppressExec) NE 1 %then %let suppressExec = 0; '
/ ' %include &_PackageFileref_.(load.sas) / &source2.; ' / ' %include &_PackageFileref_.(load.sas) / &source2.; '
/ ' options &tempLoad_minoperator.; ' / ' options &tempLoad_minoperator.; '
/ ' filename &_PackageFileref_. clear; ' / ' filename &_PackageFileref_. clear; '
@@ -1292,67 +1291,68 @@ data _null_;
/ ' call symputX("packageRequiredErrors", 0, "L"); ' / ' call symputX("packageRequiredErrors", 0, "L"); '
/ ' run; '; / ' run; ';
%end; %end;
%if %sysevalf(%superq(packageRequired) ne,boolean) %then
%if %superq(packageRequired) ne %then
%do; %do;
put ' %put NOTE- *Testing required SAS components*%sysfunc(DoSubL(%str(' /* <- DoSubL() is here */ put ' %put NOTE- *Testing required SAS components*%sysfunc(DoSubL(' /* <- DoSubL() is here */
/ ' options nonotes nosource ; ' / ' options nonotes nosource %str(;) '
/ ' options ls=max ps=max locale=en_US ; ' / ' options ls=max ps=max locale=en_US %str(;) '
/ ' /* temporary redirect log */ ' / ' /* temporary redirect log */ '
/ ' filename _stinit_ TEMP ; ' / ' filename _stinit_ TEMP %str(;) '
/ ' proc printto log = _stinit_ ; run ; ' / ' proc printto log = _stinit_ %str(;) run %str(;) '
/ ' /* print out setinit */ ' / ' /* print out setinit */ '
/ ' proc setinit ; run ; ' / ' proc setinit %str(;) run %str(;) '
/ ' proc printto ; run ; ' / ' proc printto %str(;) run %str(;) '
/ ' options ps=min ; ' / ' options ps=min %str(;) '
/ ' data _null_ ; ' / ' data _null_ %str(;) '
/ ' /* loadup checklist of required SAS components */ ' / ' /* loadup checklist of required SAS components */ '
/ ' if _n_ = 1 then ' / ' if _n_ = 1 then '
/ ' do ; ' / ' do %str(;) '
/ ' length req $ 256 ; ' / ' length req $ 256 %str(;) '
/ ' declare hash R() ; ' / ' declare hash R() %str(;) '
/ ' _N_ = R.defineKey("req") ; ' / ' _N_ = R.defineKey("req") %str(;) '
/ ' _N_ = R.defineDone() ; ' / ' _N_ = R.defineDone() %str(;) '
/ ' declare hiter iR("R") ; '; / ' declare hiter iR("R") %str(;) ';
length packageRequired $ 32767; length packageRequired $ 32767;
packageRequired = upcase(symget('packageRequired')); packageRequired = upcase(symget('packageRequired'));
put ' do req = %bquote(' / packageRequired / ') ; ' put ' do req = %bquote(' / packageRequired / ') %str(;) '
/ ' _N_ = R.add(key:req,data:req) ; ' / ' _N_ = R.add(key:req,data:req) %str(;) '
/ ' end ; ' / ' end %str(;) '
/ ' end ; ' / ' end %str(;) '
/ ' ' / ' '
/ ' /* read in output from proc setinit */ ' / ' /* read in output from proc setinit */ '
/ ' infile _stinit_ end=eof ; ' / ' infile _stinit_ end=eof %str(;) '
/ ' input ; ' / ' input %str(;) '
/* / ' put "*> " _infile_ ; ' */ /* for testing */ /* / ' put "*> " _infile_ %str(;) ' */ /* for testing */
/ ' ' / ' '
/ ' /* if component is in setinit remove it from checklist */ ' / ' /* if component is in setinit remove it from checklist */ '
/ ' if _infile_ =: "---" then ' / ' if _infile_ =: "---" then '
/ ' do ; ' / ' do %str(;) '
/ ' req = upcase(substr(_infile_, 4, 64)) ; ' / ' req = upcase(substr(_infile_, 4, 64)) %str(;) '
/ ' if R.find(key:req) = 0 then ' / ' if R.find(key:req) = 0 then '
/ ' do ; ' / ' do %str(;) '
/ ' _N_ = R.remove() ; ' / ' _N_ = R.remove() %str(;) '
/ ' end ; ' / ' end %str(;) '
/ ' end ; ' / ' end %str(;) '
/ ' ' / ' '
/ ' /* if checklist is not null rise error */ ' / ' /* if checklist is not null rise error */ '
/ ' if eof and R.num_items > 0 then ' / ' if eof and R.num_items > 0 then '
/ ' do ; ' / ' do %str(;) '
/ ' put "WARNING- ###########################################" ; ' / ' put "WARNING- ###########################################" %str(;) '
/ ' put "WARNING: The following SAS components are missing! " ; ' / ' put "WARNING: The following SAS components are missing! " %str(;) '
/ ' call symputX("packageRequiredErrors", 0, "L") ; ' / ' call symputX("packageRequiredErrors", 0, "L") %str(;) '
/ ' do while(iR.next() = 0) ; ' / ' do while(iR.next() = 0) %str(;) '
/ ' put "WARNING- " req ; ' / ' put "WARNING- " req %str(;) '
/ ' end ; ' / ' end %str(;) '
/ ' put "WARNING: The package may NOT WORK as expected " ; ' / ' put "WARNING: The package may NOT WORK as expected " %str(;) '
/ ' put "WARNING: or even result with ERRORS! " ; ' / ' put "WARNING: or even result with ERRORS! " %str(;) '
/ ' put "WARNING- ###########################################" ; ' / ' put "WARNING- ###########################################" %str(;) '
/ ' put ; ' / ' put %str(;) '
/ ' end ; ' / ' end %str(;) '
/ ' run ; ' / ' run %str(;) '
/ ' filename _stinit_ clear ; ' / ' filename _stinit_ clear %str(;) '
/ ' options notes source ; ' / ' options notes source %str(;) '
/ ' )))*; '; / ' ))*; ';
%end; %end;
%if %superq(packageReqPackages) ne %then %if %superq(packageReqPackages) ne %then
@@ -1839,7 +1839,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 20260710.;''' / ' !! '' %put with the SAS Packages Framework version 20260617.;'''
/ ' !! '' %put ****************************************************************************;''' / ' !! '' %put ****************************************************************************;'''
/ ' !! '' %GOTO theEndOfTheMacro;''' / ' !! '' %GOTO theEndOfTheMacro;'''
/ ' !! '' %end;''' ; / ' !! '' %end;''' ;
@@ -2003,7 +2003,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 20260710.; '' !! ' / ''' %put with the SAS Packages Framework version 20260617.; '' !! ' /
''' %put ****************************************************************************; '' !! ' / ''' %put ****************************************************************************; '' !! ' /
''' %GOTO theEndOfTheMacro; '' !! ' / ''' %GOTO theEndOfTheMacro; '' !! ' /
''' %end; '' !! ' / ''' %end; '' !! ' /
@@ -2875,7 +2875,7 @@ data _null_;
%end; %end;
put 'put " " / @3 "---------------------------------------------------------------------" / " ";' put 'put " " / @3 "---------------------------------------------------------------------" / " ";'
/ 'put @3 "*SAS package generated by SAS Package Framework, version `20260710`*";' / 'put @3 "*SAS package generated by SAS Package Framework, version `20260617`*";'
/ "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 "---------------------------------------------------------------------";';
+4 -4
View File
@@ -33,7 +33,7 @@
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. SOFTWARE.
*/ */
/**############################################################################**/ /**#############################################################################**/
/*** HELP START ***/ /*** HELP START ***/
/* SPF (SAS Packages Framework) is a set of macros: /* SPF (SAS Packages Framework) is a set of macros:
@@ -43,7 +43,7 @@
- to unload, or - to unload, or
- to generate SAS packages. - to generate SAS packages.
SAS Packages Framework, version 20260710. SAS Packages Framework, version 20260617.
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
@@ -92,7 +92,7 @@ Contributors:
*/ */
)/secure )/secure
/*** HELP END ***/ /*** HELP END ***/
des = 'Macro to get help about SAS package, version 20260710. Run %helpPackage(HELP) for help info.' des = 'Macro to get help about SAS package, version 20260617. Run %helpPackage(HELP) for help info.'
; ;
%if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then %if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then
%do; %do;
@@ -107,7 +107,7 @@ des = 'Macro to get help about SAS package, version 20260710. Run %helpPackage(H
%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 `20260710` #; %put # Macro to get help about SAS packages, version `20260617` #;
%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
@@ -33,7 +33,7 @@
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. SOFTWARE.
*/ */
/**############################################################################**/ /**#############################################################################**/
/*** HELP START ***/ /*** HELP START ***/
/* SPF (SAS Packages Framework) is a set of macros: /* SPF (SAS Packages Framework) is a set of macros:
@@ -43,7 +43,7 @@
- to unload, or - to unload, or
- to generate SAS packages. - to generate SAS packages.
SAS Packages Framework, version 20260710. SAS Packages Framework, version 20260617.
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
@@ -63,7 +63,7 @@ Contributors:
/*** HELP END ***/ /*** HELP END ***/
/*+installPackage+*/ /*+installPackage+*/
/* Macros to install SAS packages, version 20260710 */ /* Macros to install SAS packages, version 20260617 */
/* 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
@@ -88,13 +88,13 @@ Contributors:
, SFRCVN = /* name of a macro variable to store success-failure return code value */ , SFRCVN = /* name of a macro variable to store success-failure return code value */
, github = /* name of a user or an organization in GitHub, all characters except [A-z0-9_.-] are compressed */ , github = /* name of a user or an organization in GitHub, all characters except [A-z0-9_.-] are compressed */
, githubRepo = /* repo name to be used, by default it is the package name, but can be altered */ , githubRepo = /* repo name to be used, by default it is the package name, but can be altered */
, githubToken = /* user github fine-grained personal access token */ , githubToken = /* user's github fine-grained personal access token */
, githubTokenDebug = 0 /* debug values: 0,1,2,3 */ , githubTokenDebug = 0 /* debug values: 0,1,2,3 */
) )
/secure /secure
minoperator minoperator
/*** HELP END ***/ /*** HELP END ***/
des = 'Macro to install SAS package, version 20260710. Run %installPackage(HELP) for help info.' des = 'Macro to install SAS package, version 20260617. Run %installPackage(HELP) for help info.'
; ;
%if (%superq(packagesNames) = ) OR (%qupcase(&packagesNames.) = HELP) %then %if (%superq(packagesNames) = ) OR (%qupcase(&packagesNames.) = HELP) %then
%do; %do;
@@ -109,7 +109,7 @@ des = 'Macro to install SAS package, version 20260710. Run %installPackage(HELP)
%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 `20260710` #; %put # Macro to install SAS packages, version `20260617` #;
%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 #;
@@ -212,7 +212,7 @@ des = 'Macro to install SAS package, version 20260710. Run %installPackage(HELP)
%put # managing-your-personal-access-tokens #; %put # managing-your-personal-access-tokens #;
%put # #creating-a-fine-grained-personal-access-token` #; %put # #creating-a-fine-grained-personal-access-token` #;
%put # (lines break added for easier reading) #; %put # (lines break added for easier reading) #;
%put # Public repositories do not need authentication. #; %put # Public repos do not need authentication. #;
%put # [NOTE!] This feature is experimental in this release. #; %put # [NOTE!] This feature is experimental in this release. #;
%put # #; %put # #;
%put #--------------------------------------------------------------------------------------------#; %put #--------------------------------------------------------------------------------------------#;
+4 -4
View File
@@ -33,7 +33,7 @@
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. SOFTWARE.
*/ */
/**############################################################################**/ /**#############################################################################**/
/*** HELP START ***/ /*** HELP START ***/
/* SPF (SAS Packages Framework) is a set of macros: /* SPF (SAS Packages Framework) is a set of macros:
@@ -43,7 +43,7 @@
- to unload, or - to unload, or
- to generate SAS packages. - to generate SAS packages.
SAS Packages Framework, version 20260710. SAS Packages Framework, version 20260617.
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
@@ -68,7 +68,7 @@ Contributors:
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 20260710.' des = 'Macro to check if the PACKAGES fileref is "correct", type %isPackagesFilerefOK(HELP) for help, version 20260617.'
; ;
/*** HELP END ***/ /*** HELP END ***/
%if %QUPCASE(&SYSPBUFF.) = %str(%(HELP%)) %then %if %QUPCASE(&SYSPBUFF.) = %str(%(HELP%)) %then
@@ -84,7 +84,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 `20260710` #; %put # Macro to check if the `packages` fileref is "correct", version `20260617` #;
%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 #;
+5 -5
View File
@@ -33,7 +33,7 @@
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. SOFTWARE.
*/ */
/**############################################################################**/ /**#############################################################################**/
/*** HELP START ***/ /*** HELP START ***/
/* SPF (SAS Packages Framework) is a set of macros: /* SPF (SAS Packages Framework) is a set of macros:
@@ -43,7 +43,7 @@
- to unload, or - to unload, or
- to generate SAS packages. - to generate SAS packages.
SAS Packages Framework, version 20260710. SAS Packages Framework, version 20260617.
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
@@ -67,7 +67,7 @@ Contributors:
Macro to list SAS packages in packages folder. Macro to list SAS packages in packages folder.
Version 20260710 Version 20260617
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
@@ -89,7 +89,7 @@ Contributors:
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 20260710.' des = 'Macro to list SAS packages from `packages` fileref, type %listPackages(HELP) for help, version 20260617.'
; ;
%if (%QUPCASE(&listDataSet.) = HELP) %then %if (%QUPCASE(&listDataSet.) = HELP) %then
%do; %do;
@@ -104,7 +104,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 `20260710` #; %put # Macro to list available SAS packages, version `20260617` #;
%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 #;
+5 -5
View File
@@ -33,7 +33,7 @@
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. SOFTWARE.
*/ */
/**############################################################################**/ /**#############################################################################**/
/*** HELP START ***/ /*** HELP START ***/
/* SPF (SAS Packages Framework) is a set of macros: /* SPF (SAS Packages Framework) is a set of macros:
@@ -43,7 +43,7 @@
- to unload, or - to unload, or
- to generate SAS packages. - to generate SAS packages.
SAS Packages Framework, version 20260710. SAS Packages Framework, version 20260617.
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:
, force=0 /* force loading even if given version is already loaded */ , force=0 /* force loading even if given version is already loaded */
)/secure )/secure
/*** HELP END ***/ /*** HELP END ***/
des = 'Macro to load SAS package, version 20260710. Run %loadPackage(HELP) for help info.' des = 'Macro to load SAS package, version 20260617. Run %loadPackage(HELP) 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 `20260710` #; %put # Macro to *load* SAS packages, version `20260617` #;
%put # #; %put # #;
%put # A SAS package is a zip file containing a group #; %put # A SAS package is a zip file containing a group #;
%put # of SAS codes (macros, functions, data steps generating #; %put # of SAS codes (macros, functions, data steps generating #;
@@ -384,7 +384,7 @@ minoperator
%else %else
%do; %do;
%put NOTE- %str( ); %put NOTE- %str( );
%put NOTE: It looks like the &packageName.(&pLV0.) package is already loaded! Nothing to do.; %put NOTE: It looks like the &packageName.(&pLV0.) package already loaded! Nothing to do.;
%put NOTE- To force reloading use the force=1; %put NOTE- To force reloading use the force=1;
/* if package is already loaded with req version. */ /* if package is already loaded with req version. */
%put NOTE- %str( ); %put NOTE- %str( );
+5 -5
View File
@@ -33,7 +33,7 @@
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. SOFTWARE.
*/ */
/**############################################################################**/ /**#############################################################################**/
/*** HELP START ***/ /*** HELP START ***/
/* SPF (SAS Packages Framework) is a set of macros: /* SPF (SAS Packages Framework) is a set of macros:
@@ -43,7 +43,7 @@
- to unload, or - to unload, or
- to generate SAS packages. - to generate SAS packages.
SAS Packages Framework, version 20260710. SAS Packages Framework, version 20260617.
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
@@ -83,7 +83,7 @@ Contributors:
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 20260710. Run %loadPackageAddCnt(HELP) for help info.' des = 'Macro to load additional content for a SAS package, version 20260617. Run %loadPackageAddCnt(HELP) for help info.'
minoperator minoperator
; ;
%if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then %if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then
@@ -99,7 +99,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 `20260710` #; %put # Macro to *load* additional content for a SAS package, version `20260617` #;
%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 #;
@@ -449,7 +449,7 @@ minoperator
%WrongVersionOFPackageAddCnt: %WrongVersionOFPackageAddCnt:
/* restore options */ /* restore optionos */
options ls = &ls_tmp. ps = &ps_tmp. options ls = &ls_tmp. ps = &ps_tmp.
&notes_tmp. &source_tmp. &notes_tmp. &source_tmp.
&stimer_tmp. &fullstimer_tmp. &stimer_tmp. &fullstimer_tmp.
+4 -4
View File
@@ -33,7 +33,7 @@
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. SOFTWARE.
*/ */
/**############################################################################**/ /**#############################################################################**/
/*** HELP START ***/ /*** HELP START ***/
/* SPF (SAS Packages Framework) is a set of macros: /* SPF (SAS Packages Framework) is a set of macros:
@@ -43,7 +43,7 @@
- to unload, or - to unload, or
- to generate SAS packages. - to generate SAS packages.
SAS Packages Framework, version 20260710. SAS Packages Framework, version 20260617.
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
@@ -75,7 +75,7 @@ Contributors:
*/ */
)/secure )/secure
/*** HELP END ***/ /*** HELP END ***/
des = 'Macro to load multiple SAS packages at one run, version 20260710. Run %loadPackages(HELP) for help info.' des = 'Macro to load multiple SAS packages at one run, version 20260617. Run %loadPackages(HELP) for help info.'
parmbuff parmbuff
; ;
%if (%superq(packagesNames) = ) OR (%qupcase(&packagesNames.) = HELP) %then %if (%superq(packagesNames) = ) OR (%qupcase(&packagesNames.) = HELP) %then
@@ -91,7 +91,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 `20260710` #; %put # Macro wrapper for the loadPackage macro, version `20260617` #;
%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 #;
+4 -4
View File
@@ -33,7 +33,7 @@
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. SOFTWARE.
*/ */
/**############################################################################**/ /**#############################################################################**/
/*** HELP START ***/ /*** HELP START ***/
/* SPF (SAS Packages Framework) is a set of macros: /* SPF (SAS Packages Framework) is a set of macros:
@@ -43,7 +43,7 @@
- to unload, or - to unload, or
- to generate SAS packages. - to generate SAS packages.
SAS Packages Framework, version 20260710. SAS Packages Framework, version 20260617.
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
@@ -87,7 +87,7 @@ Contributors:
*/ */
)/secure )/secure
/*** HELP END ***/ /*** HELP END ***/
des = 'Macro to preview content of a SAS package, version 20260710. Run %previewPackage(HELP) for help info.' des = 'Macro to preview content of a SAS package, version 20260617. Run %previewPackage(HELP) for help info.'
; ;
%if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then %if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then
%do; %do;
@@ -102,7 +102,7 @@ des = 'Macro to preview content of a SAS package, version 20260710. 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 `20260710` #; %put # Macro to get preview of a SAS packages, version `20260617` #;
%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 #;
+5 -5
View File
@@ -33,7 +33,7 @@
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. SOFTWARE.
*/ */
/**############################################################################**/ /**#############################################################################**/
/*** HELP START ***/ /*** HELP START ***/
/* SPF (SAS Packages Framework) is a set of macros: /* SPF (SAS Packages Framework) is a set of macros:
@@ -43,7 +43,7 @@
- to unload, or - to unload, or
- to generate SAS packages. - to generate SAS packages.
SAS Packages Framework, version 20260710. SAS Packages Framework, version 20260617.
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
@@ -79,7 +79,7 @@ Contributors:
,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 20260710. Run %relocatePackage(HELP) for help info.' / des = 'Utility macro that locally Copies or Moves Packages, version 20260617. Run %relocatePackage(HELP) for help info.'
secure secure
minoperator minoperator
; ;
@@ -97,7 +97,7 @@ Contributors:
%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 `20260710` #; %put # Macro to *locally copy or move* (relocate) SAS packages, version `20260617` #;
%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 #;
@@ -681,7 +681,7 @@ Contributors:
run; run;
/* restore options */ /* restore optionos */
options ls = &ls_tmp. ps = &ps_tmp. options ls = &ls_tmp. ps = &ps_tmp.
&notes_tmp. &source_tmp. &notes_tmp. &source_tmp.
&stimer_tmp. &fullstimer_tmp. &stimer_tmp. &fullstimer_tmp.
+6 -6
View File
@@ -33,7 +33,7 @@
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. SOFTWARE.
*/ */
/**############################################################################**/ /**#############################################################################**/
/*** HELP START ***/ /*** HELP START ***/
/* SPF (SAS Packages Framework) is a set of macros: /* SPF (SAS Packages Framework) is a set of macros:
@@ -43,7 +43,7 @@
- to unload, or - to unload, or
- to generate SAS packages. - to generate SAS packages.
SAS Packages Framework, version 20260710. SAS Packages Framework, version 20260617.
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
@@ -81,7 +81,7 @@ Contributors:
, github = /* name of a user or an organization in GitHub, all characters except [A-z0-9_.-] are compressed */ , github = /* name of a user or an organization in GitHub, all characters except [A-z0-9_.-] are compressed */
, githubRepo = /* repo name to be used, by default it is the package name, but can be altered */ , githubRepo = /* repo name to be used, by default it is the package name, but can be altered */
, githubToken = /* user github fine-grained personal access token */ , githubToken = /* user's github fine-grained personal access token */
, githubTokenDebug = 0 /* debug values: 0,1,2,3 */ , githubTokenDebug = 0 /* debug values: 0,1,2,3 */
, loadPackage=1 /* should the packages be loaded after installing */ , loadPackage=1 /* should the packages be loaded after installing */
@@ -90,7 +90,7 @@ Contributors:
, successDS= /* technical */ , successDS= /* technical */
) )
/secure /secure
des = 'Macro to request SAS package installation and loading, version 20260710. Run %requestPackage(HELP) for help info.' des = 'Macro to request SAS package installation and loading, version 20260617. Run %requestPackage(HELP) for help info.'
; ;
%if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then %if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then
@@ -106,7 +106,7 @@ des = 'Macro to request SAS package installation and loading, version 20260710.
%put ### This is short help information for the `requestPackage` macro #; %put ### This is short help information for the `requestPackage` macro #;
%put #--------------------------------------------------------------------------------------------#;; %put #--------------------------------------------------------------------------------------------#;;
%put # #; %put # #;
%put # Macro to request (install and load) SAS packages, version `20260710` #; %put # Macro to request (install and load) SAS packages, version `20260617` #;
%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 #;
@@ -203,7 +203,7 @@ des = 'Macro to request SAS package installation and loading, version 20260710.
%put # managing-your-personal-access-tokens #; %put # managing-your-personal-access-tokens #;
%put # #creating-a-fine-grained-personal-access-token` #; %put # #creating-a-fine-grained-personal-access-token` #;
%put # (lines break added for easier reading) #; %put # (lines break added for easier reading) #;
%put # Public repositories do not need authentication. #; %put # Public repos do not need authentication. #;
%put # [NOTE!] This feature is experimental in this release. #; %put # [NOTE!] This feature is experimental in this release. #;
%put # #; %put # #;
%put # **Loading options:** #; %put # **Loading options:** #;
+4 -4
View File
@@ -33,7 +33,7 @@
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. SOFTWARE.
*/ */
/**############################################################################**/ /**#############################################################################**/
/*** HELP START ***/ /*** HELP START ***/
/* SPF (SAS Packages Framework) is a set of macros: /* SPF (SAS Packages Framework) is a set of macros:
@@ -43,7 +43,7 @@
- to unload, or - to unload, or
- to generate SAS packages. - to generate SAS packages.
SAS Packages Framework, version 20260710. SAS Packages Framework, version 20260617.
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
@@ -69,7 +69,7 @@ SPFmacroName /* space separated list of names */
/ /
minoperator minoperator
secure secure
des = 'Macro to provide help notes about SAS Packages Framework macros, version 20260710. Run %SasPackagesFrameworkNotes(HELP) for help info.' des = 'Macro to provide help notes about SAS Packages Framework macros, version 20260617. Run %SasPackagesFrameworkNotes(HELP) for help info.'
; ;
%local list N i element; %local list N i element;
%let list= %let list=
@@ -115,7 +115,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 `20260710` #; %put # Macro prints help notes for SAS Packages Framework macros, version `20260617` #;
%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 #;
+4 -4
View File
@@ -33,7 +33,7 @@
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. SOFTWARE.
*/ */
/**############################################################################**/ /**#############################################################################**/
/*** HELP START ***/ /*** HELP START ***/
/* SPF (SAS Packages Framework) is a set of macros: /* SPF (SAS Packages Framework) is a set of macros:
@@ -43,7 +43,7 @@
- to unload, or - to unload, or
- to generate SAS packages. - to generate SAS packages.
SAS Packages Framework, version 20260710. SAS Packages Framework, version 20260617.
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
@@ -66,7 +66,7 @@ Contributors:
%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 compatibility for user provided data set names. Version 20260710.'; 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 20260617.';
/* The macro can be called only inside a data step. */ /* The macro can be called only inside a data step. */
/**************************************************************************** /****************************************************************************
### Parameters: ### Parameters:
@@ -103,7 +103,7 @@ des='SAS Packages Framework internal macro. Executable only inside selected SPF
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~sas ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~sas
%macro A(ods); %macro A(ods);
data _null_; data _null_;
%SPFinit_intrnl_forceV7DSname(ods); %SPDinit_intrnl_forceV7DSname(ods);
call symputX("ods",ods,"L"); call symputX("ods",ods,"L");
run; run;
+3 -3
View File
@@ -33,7 +33,7 @@
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. SOFTWARE.
*/ */
/**############################################################################**/ /**#############################################################################**/
/*** HELP START ***/ /*** HELP START ***/
/* SPF (SAS Packages Framework) is a set of macros: /* SPF (SAS Packages Framework) is a set of macros:
@@ -43,7 +43,7 @@
- to unload, or - to unload, or
- to generate SAS packages. - to generate SAS packages.
SAS Packages Framework, version 20260710. SAS Packages Framework, version 20260617.
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
@@ -64,7 +64,7 @@ Contributors:
/*+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 20260710.'; des='SAS Packages Framework internal macro. Executable only inside the %generatePackage() macro. The macro encapsulates the archive version generation part of the process. Version 20260617.';
/* 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;
+4 -4
View File
@@ -33,7 +33,7 @@
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. SOFTWARE.
*/ */
/**############################################################################**/ /**#############################################################################**/
/*** HELP START ***/ /*** HELP START ***/
/* SPF (SAS Packages Framework) is a set of macros: /* SPF (SAS Packages Framework) is a set of macros:
@@ -43,7 +43,7 @@
- to unload, or - to unload, or
- to generate SAS packages. - to generate SAS packages.
SAS Packages Framework, version 20260710. SAS Packages Framework, version 20260617.
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
@@ -64,7 +64,7 @@ Contributors:
/*+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 20260710.'; des='SAS Packages Framework internal macro. Executable only inside the %generatePackage() macro. The macro encapsulates the markdown documentation part of the process. Version 20260617.';
/* 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;
@@ -176,7 +176,7 @@ data &filesWithCodes.markdown;
%end; %end;
put " " / "---------------------------------------------------------------------" / " " put " " / "---------------------------------------------------------------------" / " "
/ "*SAS package generated by SAS Package Framework, version `20260710`,*" / "*SAS package generated by SAS Package Framework, version `20260617`,*"
/ "*under `&sysscp.`(`&sysscpl.`) operating system,*" / "*under `&sysscp.`(`&sysscpl.`) operating system,*"
/ "*using SAS release: `&sysvlong4.`.*" / "*using SAS release: `&sysvlong4.`.*"
/ " " / "---------------------------------------------------------------------" / " "; / " " / "---------------------------------------------------------------------" / " ";
+3 -3
View File
@@ -33,7 +33,7 @@
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. SOFTWARE.
*/ */
/**############################################################################**/ /**#############################################################################**/
/*** HELP START ***/ /*** HELP START ***/
/* SPF (SAS Packages Framework) is a set of macros: /* SPF (SAS Packages Framework) is a set of macros:
@@ -43,7 +43,7 @@
- to unload, or - to unload, or
- to generate SAS packages. - to generate SAS packages.
SAS Packages Framework, version 20260710. SAS Packages Framework, version 20260617.
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
@@ -64,7 +64,7 @@ Contributors:
/*+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 20260710.'; des='SAS Packages Framework internal macro. Executable only inside the %generatePackage() macro. The macro encapsulates the test part of the process. Version 20260617.';
/* 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;
+5 -5
View File
@@ -33,7 +33,7 @@
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. SOFTWARE.
*/ */
/**############################################################################**/ /**#############################################################################**/
/*** HELP START ***/ /*** HELP START ***/
/* SPF (SAS Packages Framework) is a set of macros: /* SPF (SAS Packages Framework) is a set of macros:
@@ -43,7 +43,7 @@
- to unload, or - to unload, or
- to generate SAS packages. - to generate SAS packages.
SAS Packages Framework, version 20260710. SAS Packages Framework, version 20260617.
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
@@ -72,7 +72,7 @@ Contributors:
,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 20260710. Run %splitCodeForPackage(HELP) for help info.' / des = 'Utility macro to split "one big" code into multiple files for a SAS package, version 20260617. Run %splitCodeForPackage(HELP) for help info.'
; ;
%if (%superq(codeFile) = ) OR (%qupcase(&codeFile.) = HELP) %then %if (%superq(codeFile) = ) OR (%qupcase(&codeFile.) = HELP) %then
%do; %do;
@@ -88,7 +88,7 @@ Contributors:
%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 `20260710` #; %put # files with separate snippets, version `20260617` #;
%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 #;
@@ -464,7 +464,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 20260710. */'; put '/* File generated with help of SAS Packages Framework, version 20260617. */';
firstLine[j]=0; firstLine[j]=0;
end; end;
put _infile_; put _infile_;
+6 -6
View File
@@ -33,7 +33,7 @@
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. SOFTWARE.
*/ */
/**############################################################################**/ /**#############################################################################**/
/*** HELP START ***/ /*** HELP START ***/
/* SPF (SAS Packages Framework) is a set of macros: /* SPF (SAS Packages Framework) is a set of macros:
@@ -43,7 +43,7 @@
- to unload, or - to unload, or
- to generate SAS packages. - to generate SAS packages.
SAS Packages Framework, version 20260710. SAS Packages Framework, version 20260617.
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
@@ -74,7 +74,7 @@ Contributors:
,verify=0 ,verify=0
,quiet=0 ,quiet=0
)/ )/
des='Macro to extract a bundle of SAS packages, version 20260710. Run %unbundlePackages(HELP) for help info.' des='Macro to extract a bundle of SAS packages, version 20260617. Run %unbundlePackages(HELP) for help info.'
secure secure
minoperator minoperator
; ;
@@ -92,7 +92,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 `20260710` #; %put # Macro to *extract* SAS packages from a bundle, version `20260617` #;
%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 #;
@@ -382,7 +382,7 @@ else
end; end;
rc = Q.output(dataset: /* create proper tag */ rc = Q.output(dataset: /* create propper tag */
%if %superq(ods) NE %then %do; "&ods.(label='Bundle: " !! strip(bundleName) !! "')" %end; %if %superq(ods) NE %then %do; "&ods.(label='Bundle: " !! strip(bundleName) !! "')" %end;
%else %do; "&reportFile.1" %end; %else %do; "&reportFile.1" %end;
); );
@@ -439,7 +439,7 @@ rc = doSubL(
stop; stop;
run; run;
/*===================================================================================================*/ /*===================================================================================================*/
/* restore options */ /* restore optionos */
options ls = &ls_tmp. ps = &ps_tmp. options ls = &ls_tmp. ps = &ps_tmp.
&notes_tmp. &source_tmp. &notes_tmp. &source_tmp.
&stimer_tmp. &fullstimer_tmp. &stimer_tmp. &fullstimer_tmp.
+4 -4
View File
@@ -33,7 +33,7 @@
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. SOFTWARE.
*/ */
/**############################################################################**/ /**#############################################################################**/
/*** HELP START ***/ /*** HELP START ***/
/* SPF (SAS Packages Framework) is a set of macros: /* SPF (SAS Packages Framework) is a set of macros:
@@ -43,7 +43,7 @@
- to unload, or - to unload, or
- to generate SAS packages. - to generate SAS packages.
SAS Packages Framework, version 20260710. SAS Packages Framework, version 20260617.
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
@@ -84,7 +84,7 @@ Contributors:
*/ */
)/secure )/secure
/*** HELP END ***/ /*** HELP END ***/
des = 'Macro to unload SAS package, version 20260710. Run %unloadPackage(HELP) for help info.' des = 'Macro to unload SAS package, version 20260617. Run %unloadPackage(HELP) for help info.'
; ;
%if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then %if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then
%do; %do;
@@ -99,7 +99,7 @@ des = 'Macro to unload SAS package, version 20260710. Run %unloadPackage(HELP) f
%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 `20260710` #; %put # Macro to unload SAS packages, version `20260617` #;
%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 #;
+6 -6
View File
@@ -33,7 +33,7 @@
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. SOFTWARE.
*/ */
/**############################################################################**/ /**#############################################################################**/
/*** HELP START ***/ /*** HELP START ***/
/* SPF (SAS Packages Framework) is a set of macros: /* SPF (SAS Packages Framework) is a set of macros:
@@ -43,7 +43,7 @@
- to unload, or - to unload, or
- to generate SAS packages. - to generate SAS packages.
SAS Packages Framework, version 20260710. SAS Packages Framework, version 20260617.
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
@@ -77,7 +77,7 @@ Contributors:
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 20260710. Run %verifyPackage(HELP) for help info.' des = 'Macro to verify SAS package with the hash digest, version 20260617. Run %verifyPackage(HELP) for help info.'
; ;
%if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then %if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then
%do; %do;
@@ -92,7 +92,7 @@ des = 'Macro to verify SAS package with the hash digest, version 20260710. 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 `20260710` #; %put # Macro to verify SAS package with it hash digest, version `20260617` #;
%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 #;
@@ -226,7 +226,7 @@ des = 'Macro to verify SAS package with the hash digest, version 20260710. Run %
LINK CalcualteHashDigest; /* go to Link 1 */ LINK CalcualteHashDigest; /* go to Link 1 */
if NOT emptyHash then if NOT emptyHash then
do; /* step for verification */ do; /* step for veryfication */
if upcase(digest) = upcase(providedHash) then if upcase(digest) = upcase(providedHash) then
do; do;
put "NOTE: Verification SUCCESSFUL." put "NOTE: Verification SUCCESSFUL."
@@ -245,7 +245,7 @@ des = 'Macro to verify SAS package with the hash digest, version 20260710. Run %
end; end;
end; end;
else else
do method = "SHA1", "MD5"; /* step for digest display, calculate also SHA1 and MD5 */ do method = "SHA1", "MD5"; /* step for digest display, calcualte also SHA1 and MD5 */
LINK CalcualteHashDigest; /* go to Link 1 */ LINK CalcualteHashDigest; /* go to Link 1 */
end; end;
put 82*"-" /; put 82*"-" /;
+24 -24
View File
@@ -1,7 +1,7 @@
--- ---
# SAS Packages Framework, version `20260710` # SAS Packages Framework, version `20260615`
--- ---
@@ -35,7 +35,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 **`20260710`**. In this repository we are presenting the **SAS Packages Framework** which allows to develop and use SAS packages. The latest version of SPF is **`20260615`**.
**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).
@@ -58,7 +58,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 `20260710` Macro to install SAS packages, version `20260615`
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
@@ -160,7 +160,7 @@ them using the SPF can be found [**HERE**](https://github.com/yabwon/HoW-SASPack
`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 repositories 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.
-------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------
@@ -211,7 +211,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 `20260710` Macro to get help about SAS packages, version `20260615`
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
@@ -289,7 +289,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 `20260710` Macro to *load* SAS packages, version `20260615`
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
@@ -447,7 +447,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 `20260710` Macro wrapper for the loadPackage macro, version `20260615`
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
@@ -499,7 +499,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 `20260710` Macro to unload SAS packages, version `20260615`
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
@@ -566,7 +566,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 `20260710` Macro to list available SAS packages, version `20260615`
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
@@ -615,7 +615,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 `20260710` Macro to verify SAS package with it hash digest, version `20260615`
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
@@ -671,7 +671,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 `20260710` Macro to get preview of a SAS packages, version `20260615`
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
@@ -740,7 +740,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 `20260710` Macro to generate SAS packages, version `20260615`
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
@@ -796,8 +796,8 @@ filename packages "C:/SAS_PACKAGES"; %* setup a directory for packages;
if null (the default) then the `!SASROOT` is used. if null (the default) then the `!SASROOT` is used.
- `sascfgFile=` Location of a FILE with testing session configuration - `sascfgFile=` Location of a FILE with testing session configuration
parameters, if null (the default) then no configuration parameters, if null (the default) then no config file
file is pointed during the SAS invocation, is pointed during the SAS invocation,
if set to `DEF` then the `!SASROOT/sasv9.cfg` is used. if set to `DEF` then the `!SASROOT/sasv9.cfg` is used.
- `delTestWork=` Indicates if `WORK` directories generated by user tests - `delTestWork=` Indicates if `WORK` directories generated by user tests
@@ -973,7 +973,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 `20260710` Macro to list directories pointed by 'packages' fileref, version `20260615`
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
@@ -1015,7 +1015,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 `20260710` Macro to load *additional content* for a SAS package, version `20260615`
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
@@ -1111,7 +1111,7 @@ filename packages "C:/SAS_PACKAGES"; %* setup a directory for packages;
-------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------
Macro to request (install and load) SAS packages, version `20260710` Macro to request (install and load) SAS packages, version `20260615`
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
@@ -1208,7 +1208,7 @@ filename packages "C:/SAS_PACKAGES"; %* setup a directory for packages;
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 repositories 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.
**Loading options:** **Loading options:**
@@ -1271,7 +1271,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 `20260710` files with separate snippets, version `20260615`
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
@@ -1352,7 +1352,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 `20260710` Macro to *locally copy or move* (relocate) SAS packages, version `20260615`
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
@@ -1464,7 +1464,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 `20260710` Macro to check if the `packages` fileref is "correct", version `20260615`
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
@@ -1515,7 +1515,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 `20260710` Macro prints help notes for SAS Packages Framework macros, version `20260615`
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
@@ -1565,7 +1565,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 `20260710` Macro to *create bundles* of SAS packages, version `20260615`
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
@@ -1634,7 +1634,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 `20260710` Macro to *extract* SAS packages from a bundle, version `20260615`
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
+119 -119
View File
@@ -33,7 +33,7 @@
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. SOFTWARE.
*/ */
/**############################################################################**/ /**#############################################################################**/
/*** HELP START ***/ /*** HELP START ***/
/* SPF (SAS Packages Framework) is a set of macros: /* SPF (SAS Packages Framework) is a set of macros:
@@ -43,7 +43,7 @@
- to unload, or - to unload, or
- to generate SAS packages. - to generate SAS packages.
SAS Packages Framework, version 20260710. SAS Packages Framework, version 20260617.
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:
, force=0 /* force loading even if given version is already loaded */ , force=0 /* force loading even if given version is already loaded */
)/secure )/secure
/*** HELP END ***/ /*** HELP END ***/
des = 'Macro to load SAS package, version 20260710. Run %loadPackage(HELP) for help info.' des = 'Macro to load SAS package, version 20260617. Run %loadPackage(HELP) 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 `20260710` #; %put # Macro to *load* SAS packages, version `20260617` #;
%put # #; %put # #;
%put # A SAS package is a zip file containing a group #; %put # A SAS package is a zip file containing a group #;
%put # of SAS codes (macros, functions, data steps generating #; %put # of SAS codes (macros, functions, data steps generating #;
@@ -384,7 +384,7 @@ minoperator
%else %else
%do; %do;
%put NOTE- %str( ); %put NOTE- %str( );
%put NOTE: It looks like the &packageName.(&pLV0.) package is already loaded! Nothing to do.; %put NOTE: It looks like the &packageName.(&pLV0.) package already loaded! Nothing to do.;
%put NOTE- To force reloading use the force=1; %put NOTE- To force reloading use the force=1;
/* if package is already loaded with req version. */ /* if package is already loaded with req version. */
%put NOTE- %str( ); %put NOTE- %str( );
@@ -432,7 +432,7 @@ minoperator
*/ */
)/secure )/secure
/*** HELP END ***/ /*** HELP END ***/
des = 'Macro to unload SAS package, version 20260710. Run %unloadPackage(HELP) for help info.' des = 'Macro to unload SAS package, version 20260617. Run %unloadPackage(HELP) for help info.'
; ;
%if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then %if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then
%do; %do;
@@ -447,7 +447,7 @@ des = 'Macro to unload SAS package, version 20260710. Run %unloadPackage(HELP) f
%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 `20260710` #; %put # Macro to unload SAS packages, version `20260617` #;
%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 #;
@@ -605,7 +605,7 @@ des = 'Macro to unload SAS package, version 20260710. Run %unloadPackage(HELP) f
*/ */
)/secure )/secure
/*** HELP END ***/ /*** HELP END ***/
des = 'Macro to get help about SAS package, version 20260710. Run %helpPackage(HELP) for help info.' des = 'Macro to get help about SAS package, version 20260617. Run %helpPackage(HELP) for help info.'
; ;
%if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then %if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then
%do; %do;
@@ -620,7 +620,7 @@ des = 'Macro to get help about SAS package, version 20260710. Run %helpPackage(H
%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 `20260710` #; %put # Macro to get help about SAS packages, version `20260617` #;
%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 #;
@@ -765,7 +765,7 @@ TODO:
*/ */
/*+installPackage+*/ /*+installPackage+*/
/* Macros to install SAS packages, version 20260710 */ /* Macros to install SAS packages, version 20260617 */
/* 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
@@ -790,13 +790,13 @@ TODO:
, SFRCVN = /* name of a macro variable to store success-failure return code value */ , SFRCVN = /* name of a macro variable to store success-failure return code value */
, github = /* name of a user or an organization in GitHub, all characters except [A-z0-9_.-] are compressed */ , github = /* name of a user or an organization in GitHub, all characters except [A-z0-9_.-] are compressed */
, githubRepo = /* repo name to be used, by default it is the package name, but can be altered */ , githubRepo = /* repo name to be used, by default it is the package name, but can be altered */
, githubToken = /* user github fine-grained personal access token */ , githubToken = /* user's github fine-grained personal access token */
, githubTokenDebug = 0 /* debug values: 0,1,2,3 */ , githubTokenDebug = 0 /* debug values: 0,1,2,3 */
) )
/secure /secure
minoperator minoperator
/*** HELP END ***/ /*** HELP END ***/
des = 'Macro to install SAS package, version 20260710. Run %installPackage(HELP) for help info.' des = 'Macro to install SAS package, version 20260617. Run %installPackage(HELP) for help info.'
; ;
%if (%superq(packagesNames) = ) OR (%qupcase(&packagesNames.) = HELP) %then %if (%superq(packagesNames) = ) OR (%qupcase(&packagesNames.) = HELP) %then
%do; %do;
@@ -811,7 +811,7 @@ des = 'Macro to install SAS package, version 20260710. Run %installPackage(HELP)
%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 `20260710` #; %put # Macro to install SAS packages, version `20260617` #;
%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 #;
@@ -914,7 +914,7 @@ des = 'Macro to install SAS package, version 20260710. Run %installPackage(HELP)
%put # managing-your-personal-access-tokens #; %put # managing-your-personal-access-tokens #;
%put # #creating-a-fine-grained-personal-access-token` #; %put # #creating-a-fine-grained-personal-access-token` #;
%put # (lines break added for easier reading) #; %put # (lines break added for easier reading) #;
%put # Public repositories do not need authentication. #; %put # Public repos do not need authentication. #;
%put # [NOTE!] This feature is experimental in this release. #; %put # [NOTE!] This feature is experimental in this release. #;
%put # #; %put # #;
%put #--------------------------------------------------------------------------------------------#; %put #--------------------------------------------------------------------------------------------#;
@@ -1691,7 +1691,7 @@ des = 'Macro to install SAS package, version 20260710. Run %installPackage(HELP)
Macro to list SAS packages in packages folder. Macro to list SAS packages in packages folder.
Version 20260710 Version 20260617
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
@@ -1713,7 +1713,7 @@ des = 'Macro to install SAS package, version 20260710. Run %installPackage(HELP)
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 20260710.' des = 'Macro to list SAS packages from `packages` fileref, type %listPackages(HELP) for help, version 20260617.'
; ;
%if (%QUPCASE(&listDataSet.) = HELP) %then %if (%QUPCASE(&listDataSet.) = HELP) %then
%do; %do;
@@ -1728,7 +1728,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 `20260710` #; %put # Macro to list available SAS packages, version `20260617` #;
%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 #;
@@ -1957,7 +1957,7 @@ options ls = &ls_tmp. ps = &ps_tmp. &notes_tmp. &source_tmp.;
Macro to generate SAS packages. Macro to generate SAS packages.
Version 20260710 Version 20260617
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
@@ -1985,7 +1985,7 @@ options ls = &ls_tmp. ps = &ps_tmp. &notes_tmp. &source_tmp.;
if null (the default) the WORK is used */ if null (the default) the WORK is used */
,workInTestResults=0 /* indicates if WORK directories for tests should be located ,workInTestResults=0 /* indicates if WORK directories for tests should be located
in the same place as results */ in the same place as results */
,testWorkPath= /* location where tests SAS session work directories ,testWorkPath= /* location where tests SAS sessions' work directories
should be stored, if null (the default) the main SAS should be stored, if null (the default) the main SAS
session WORK is used. Takes precedence over workInTestResults= */ session WORK is used. Takes precedence over workInTestResults= */
,sasexe= /* a DIRECTORY where the SAS binary is located, ,sasexe= /* a DIRECTORY where the SAS binary is located,
@@ -2007,7 +2007,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 20260710. Run %generatePackage(HELP) for help info.' des = 'Macro to generate SAS packages, version 20260617. Run %generatePackage(HELP) for help info.'
; ;
%if (%superq(filesLocation) = ) OR (%qupcase(&filesLocation.) = HELP) %then %if (%superq(filesLocation) = ) OR (%qupcase(&filesLocation.) = HELP) %then
%do; %do;
@@ -2022,7 +2022,7 @@ des = 'Macro to generate SAS packages, version 20260710. Run %generatePackage(HE
%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 `20260710` #; %put # Macro to generate SAS packages, version `20260617` #;
%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 #;
@@ -2079,8 +2079,8 @@ des = 'Macro to generate SAS packages, version 20260710. Run %generatePackage(HE
%put # if null (the default) then the `!SASROOT` is used. #; %put # if null (the default) then the `!SASROOT` is used. #;
%put # #; %put # #;
%put # - `sascfgFile=` Location of a FILE with testing session configuration #; %put # - `sascfgFile=` Location of a FILE with testing session configuration #;
%put # parameters, if null (the default) then no configuration #; %put # parameters, if null (the default) then no config file #;
%put # file is pointed during the SAS invocation, #; %put # is pointed during the SAS invocation, #;
%put # if set to `DEF` then the `!SASROOT/sasv9.cfg` is used. #; %put # if set to `DEF` then the `!SASROOT/sasv9.cfg` is used. #;
%put # #; %put # #;
%put # - `delTestWork=` Indicates if `WORK` directories generated by user tests #; %put # - `delTestWork=` Indicates if `WORK` directories generated by user tests #;
@@ -2402,8 +2402,7 @@ data _null_;
/* test if version is a number */ /* test if version is a number */
/*data _null_;*/ /* <- comment out, because it can be 1 data step, not 2 */ /*data _null_;*/ /* <- comment out, because it can be 1 data step, not 2 */
length v $ 64; v = "&packageVersion.";
v = symget("packageVersion");
version = coalesce(input(scan(v,1,".","M"), ?? best32.),0)*1e8 version = coalesce(input(scan(v,1,".","M"), ?? best32.),0)*1e8
+ coalesce(input(scan(v,2,".","M"), ?? best32.),0)*1e4 + coalesce(input(scan(v,2,".","M"), ?? best32.),0)*1e4
+ coalesce(input(scan(v,3,".","M"), ?? best32.),0)*1e0 + coalesce(input(scan(v,3,".","M"), ?? best32.),0)*1e0
@@ -2411,7 +2410,7 @@ data _null_;
if not (version > 0) then if not (version > 0) then
do; do;
put 'ERROR: Package version should be a positive NUMBER.' put 'ERROR: Package version should be a positive NUMBER.'
/ 'ERROR- Current value is: ' v / 'ERROR- Current value is: ' "&packageVersion."
/ 'ERROR- Try something small, e.g. 0.1' / 'ERROR- Try something small, e.g. 0.1'
/ 'ERROR- Aborting.'; / 'ERROR- Aborting.';
put; put;
@@ -2905,7 +2904,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 20260710"; footnote1 "SAS Packages Framework, version 20260617";
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)
@@ -3086,7 +3085,7 @@ data _null_;
/ ' %let pV = %sysevalf((%scan(&pV0.,1,.,M)+0)*1e8 ' / ' %let pV = %sysevalf((%scan(&pV0.,1,.,M)+0)*1e8 '
/ ' + (%scan(&pV0.,2,.,M)+0)*1e4 ' / ' + (%scan(&pV0.,2,.,M)+0)*1e4 '
/ ' + (%scan(&pV0.,3,.,M)+0)*1e0); ' / ' + (%scan(&pV0.,3,.,M)+0)*1e0); '
/ ' '
/ ' %let rV0 = %sysfunc(compress(&requiredVersion.,.,kd)); ' / ' %let rV0 = %sysfunc(compress(&requiredVersion.,.,kd)); '
/ ' %let rVsign = %sysfunc(compress(&requiredVersion.,<=>,k)); ' / ' %let rVsign = %sysfunc(compress(&requiredVersion.,<=>,k)); '
/ ' %if %superq(rVsign)= %then %let rVsign=<=; ' / ' %if %superq(rVsign)= %then %let rVsign=<=; '
@@ -3099,7 +3098,7 @@ data _null_;
/ ' %let rV = %sysevalf((%scan(&rV0.,1,.,M)+0)*1e8 ' / ' %let rV = %sysevalf((%scan(&rV0.,1,.,M)+0)*1e8 '
/ ' + (%scan(&rV0.,2,.,M)+0)*1e4 ' / ' + (%scan(&rV0.,2,.,M)+0)*1e4 '
/ ' + (%scan(&rV0.,3,.,M)+0)*1e0); ' / ' + (%scan(&rV0.,3,.,M)+0)*1e0); '
/ ' '
/ ' %if NOT %sysevalf(&rV. &rVsign. &pV.) %then ' / ' %if NOT %sysevalf(&rV. &rVsign. &pV.) %then '
/ ' %do; ' / ' %do; '
/ ' %put ERROR: Package &packageName. will not be loaded!; ' / ' %put ERROR: Package &packageName. will not be loaded!; '
@@ -3119,8 +3118,8 @@ data _null_;
/ ' %local cherryPick; %let cherryPick=*; ' / ' %local cherryPick; %let cherryPick=*; '
/ ' %local tempLoad_minoperator; ' / ' %local tempLoad_minoperator; '
/ ' %let tempLoad_minoperator = %sysfunc(getoption(minoperator)); ' / ' %let tempLoad_minoperator = %sysfunc(getoption(minoperator)); '
/ " "
/ ' %if %sysevalf(%superq(suppressExec) NE 1,boolean) %then %let suppressExec = 0; ' / ' %if %superq(suppressExec) NE 1 %then %let suppressExec = 0; '
/ ' %include &_PackageFileref_.(load.sas) / &source2.; ' / ' %include &_PackageFileref_.(load.sas) / &source2.; '
/ ' options &tempLoad_minoperator.; ' / ' options &tempLoad_minoperator.; '
/ ' filename &_PackageFileref_. clear; ' / ' filename &_PackageFileref_. clear; '
@@ -3182,67 +3181,68 @@ data _null_;
/ ' call symputX("packageRequiredErrors", 0, "L"); ' / ' call symputX("packageRequiredErrors", 0, "L"); '
/ ' run; '; / ' run; ';
%end; %end;
%if %sysevalf(%superq(packageRequired) ne,boolean) %then
%if %superq(packageRequired) ne %then
%do; %do;
put ' %put NOTE- *Testing required SAS components*%sysfunc(DoSubL(%str(' /* <- DoSubL() is here */ put ' %put NOTE- *Testing required SAS components*%sysfunc(DoSubL(' /* <- DoSubL() is here */
/ ' options nonotes nosource ; ' / ' options nonotes nosource %str(;) '
/ ' options ls=max ps=max locale=en_US ; ' / ' options ls=max ps=max locale=en_US %str(;) '
/ ' /* temporary redirect log */ ' / ' /* temporary redirect log */ '
/ ' filename _stinit_ TEMP ; ' / ' filename _stinit_ TEMP %str(;) '
/ ' proc printto log = _stinit_ ; run ; ' / ' proc printto log = _stinit_ %str(;) run %str(;) '
/ ' /* print out setinit */ ' / ' /* print out setinit */ '
/ ' proc setinit ; run ; ' / ' proc setinit %str(;) run %str(;) '
/ ' proc printto ; run ; ' / ' proc printto %str(;) run %str(;) '
/ ' options ps=min ; ' / ' options ps=min %str(;) '
/ ' data _null_ ; ' / ' data _null_ %str(;) '
/ ' /* loadup checklist of required SAS components */ ' / ' /* loadup checklist of required SAS components */ '
/ ' if _n_ = 1 then ' / ' if _n_ = 1 then '
/ ' do ; ' / ' do %str(;) '
/ ' length req $ 256 ; ' / ' length req $ 256 %str(;) '
/ ' declare hash R() ; ' / ' declare hash R() %str(;) '
/ ' _N_ = R.defineKey("req") ; ' / ' _N_ = R.defineKey("req") %str(;) '
/ ' _N_ = R.defineDone() ; ' / ' _N_ = R.defineDone() %str(;) '
/ ' declare hiter iR("R") ; '; / ' declare hiter iR("R") %str(;) ';
length packageRequired $ 32767; length packageRequired $ 32767;
packageRequired = upcase(symget('packageRequired')); packageRequired = upcase(symget('packageRequired'));
put ' do req = %bquote(' / packageRequired / ') ; ' put ' do req = %bquote(' / packageRequired / ') %str(;) '
/ ' _N_ = R.add(key:req,data:req) ; ' / ' _N_ = R.add(key:req,data:req) %str(;) '
/ ' end ; ' / ' end %str(;) '
/ ' end ; ' / ' end %str(;) '
/ ' ' / ' '
/ ' /* read in output from proc setinit */ ' / ' /* read in output from proc setinit */ '
/ ' infile _stinit_ end=eof ; ' / ' infile _stinit_ end=eof %str(;) '
/ ' input ; ' / ' input %str(;) '
/* / ' put "*> " _infile_ ; ' */ /* for testing */ /* / ' put "*> " _infile_ %str(;) ' */ /* for testing */
/ ' ' / ' '
/ ' /* if component is in setinit remove it from checklist */ ' / ' /* if component is in setinit remove it from checklist */ '
/ ' if _infile_ =: "---" then ' / ' if _infile_ =: "---" then '
/ ' do ; ' / ' do %str(;) '
/ ' req = upcase(substr(_infile_, 4, 64)) ; ' / ' req = upcase(substr(_infile_, 4, 64)) %str(;) '
/ ' if R.find(key:req) = 0 then ' / ' if R.find(key:req) = 0 then '
/ ' do ; ' / ' do %str(;) '
/ ' _N_ = R.remove() ; ' / ' _N_ = R.remove() %str(;) '
/ ' end ; ' / ' end %str(;) '
/ ' end ; ' / ' end %str(;) '
/ ' ' / ' '
/ ' /* if checklist is not null rise error */ ' / ' /* if checklist is not null rise error */ '
/ ' if eof and R.num_items > 0 then ' / ' if eof and R.num_items > 0 then '
/ ' do ; ' / ' do %str(;) '
/ ' put "WARNING- ###########################################" ; ' / ' put "WARNING- ###########################################" %str(;) '
/ ' put "WARNING: The following SAS components are missing! " ; ' / ' put "WARNING: The following SAS components are missing! " %str(;) '
/ ' call symputX("packageRequiredErrors", 0, "L") ; ' / ' call symputX("packageRequiredErrors", 0, "L") %str(;) '
/ ' do while(iR.next() = 0) ; ' / ' do while(iR.next() = 0) %str(;) '
/ ' put "WARNING- " req ; ' / ' put "WARNING- " req %str(;) '
/ ' end ; ' / ' end %str(;) '
/ ' put "WARNING: The package may NOT WORK as expected " ; ' / ' put "WARNING: The package may NOT WORK as expected " %str(;) '
/ ' put "WARNING: or even result with ERRORS! " ; ' / ' put "WARNING: or even result with ERRORS! " %str(;) '
/ ' put "WARNING- ###########################################" ; ' / ' put "WARNING- ###########################################" %str(;) '
/ ' put ; ' / ' put %str(;) '
/ ' end ; ' / ' end %str(;) '
/ ' run ; ' / ' run %str(;) '
/ ' filename _stinit_ clear ; ' / ' filename _stinit_ clear %str(;) '
/ ' options notes source ; ' / ' options notes source %str(;) '
/ ' )))*; '; / ' ))*; ';
%end; %end;
%if %superq(packageReqPackages) ne %then %if %superq(packageReqPackages) ne %then
@@ -3729,7 +3729,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 20260710.;''' / ' !! '' %put with the SAS Packages Framework version 20260617.;'''
/ ' !! '' %put ****************************************************************************;''' / ' !! '' %put ****************************************************************************;'''
/ ' !! '' %GOTO theEndOfTheMacro;''' / ' !! '' %GOTO theEndOfTheMacro;'''
/ ' !! '' %end;''' ; / ' !! '' %end;''' ;
@@ -3893,7 +3893,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 20260710.; '' !! ' / ''' %put with the SAS Packages Framework version 20260617.; '' !! ' /
''' %put ****************************************************************************; '' !! ' / ''' %put ****************************************************************************; '' !! ' /
''' %GOTO theEndOfTheMacro; '' !! ' / ''' %GOTO theEndOfTheMacro; '' !! ' /
''' %end; '' !! ' / ''' %end; '' !! ' /
@@ -4765,7 +4765,7 @@ data _null_;
%end; %end;
put 'put " " / @3 "---------------------------------------------------------------------" / " ";' put 'put " " / @3 "---------------------------------------------------------------------" / " ";'
/ 'put @3 "*SAS package generated by SAS Package Framework, version `20260710`*";' / 'put @3 "*SAS package generated by SAS Package Framework, version `20260617`*";'
/ "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 "---------------------------------------------------------------------";';
@@ -5204,7 +5204,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 20260710.'; des='SAS Packages Framework internal macro. Executable only inside the %generatePackage() macro. The macro encapsulates the test part of the process. Version 20260617.';
/* 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;
@@ -5886,7 +5886,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 20260710.'; des='SAS Packages Framework internal macro. Executable only inside the %generatePackage() macro. The macro encapsulates the markdown documentation part of the process. Version 20260617.';
/* 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;
@@ -5998,7 +5998,7 @@ data &filesWithCodes.markdown;
%end; %end;
put " " / "---------------------------------------------------------------------" / " " put " " / "---------------------------------------------------------------------" / " "
/ "*SAS package generated by SAS Package Framework, version `20260710`,*" / "*SAS package generated by SAS Package Framework, version `20260617`,*"
/ "*under `&sysscp.`(`&sysscpl.`) operating system,*" / "*under `&sysscp.`(`&sysscpl.`) operating system,*"
/ "*using SAS release: `&sysvlong4.`.*" / "*using SAS release: `&sysvlong4.`.*"
/ " " / "---------------------------------------------------------------------" / " "; / " " / "---------------------------------------------------------------------" / " ";
@@ -6139,7 +6139,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 20260710.'; des='SAS Packages Framework internal macro. Executable only inside the %generatePackage() macro. The macro encapsulates the archive version generation part of the process. Version 20260617.';
/* 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;
@@ -6306,7 +6306,7 @@ TODO: (in Polish)
*/ */
)/secure )/secure
/*** HELP END ***/ /*** HELP END ***/
des = 'Macro to load multiple SAS packages at one run, version 20260710. Run %loadPackages(HELP) for help info.' des = 'Macro to load multiple SAS packages at one run, version 20260617. Run %loadPackages(HELP) for help info.'
parmbuff parmbuff
; ;
%if (%superq(packagesNames) = ) OR (%qupcase(&packagesNames.) = HELP) %then %if (%superq(packagesNames) = ) OR (%qupcase(&packagesNames.) = HELP) %then
@@ -6322,7 +6322,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 `20260710` #; %put # Macro wrapper for the loadPackage macro, version `20260617` #;
%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 #;
@@ -6420,7 +6420,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 20260710. Run %verifyPackage(HELP) for help info.' des = 'Macro to verify SAS package with the hash digest, version 20260617. Run %verifyPackage(HELP) for help info.'
; ;
%if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then %if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then
%do; %do;
@@ -6435,7 +6435,7 @@ des = 'Macro to verify SAS package with the hash digest, version 20260710. 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 `20260710` #; %put # Macro to verify SAS package with it hash digest, version `20260617` #;
%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 #;
@@ -6569,7 +6569,7 @@ des = 'Macro to verify SAS package with the hash digest, version 20260710. Run %
LINK CalcualteHashDigest; /* go to Link 1 */ LINK CalcualteHashDigest; /* go to Link 1 */
if NOT emptyHash then if NOT emptyHash then
do; /* step for verification */ do; /* step for veryfication */
if upcase(digest) = upcase(providedHash) then if upcase(digest) = upcase(providedHash) then
do; do;
put "NOTE: Verification SUCCESSFUL." put "NOTE: Verification SUCCESSFUL."
@@ -6588,7 +6588,7 @@ des = 'Macro to verify SAS package with the hash digest, version 20260710. Run %
end; end;
end; end;
else else
do method = "SHA1", "MD5"; /* step for digest display, calculate also SHA1 and MD5 */ do method = "SHA1", "MD5"; /* step for digest display, calcualte also SHA1 and MD5 */
LINK CalcualteHashDigest; /* go to Link 1 */ LINK CalcualteHashDigest; /* go to Link 1 */
end; end;
put 82*"-" /; put 82*"-" /;
@@ -6651,7 +6651,7 @@ des = 'Macro to verify SAS package with the hash digest, version 20260710. Run %
*/ */
)/secure )/secure
/*** HELP END ***/ /*** HELP END ***/
des = 'Macro to preview content of a SAS package, version 20260710. Run %previewPackage(HELP) for help info.' des = 'Macro to preview content of a SAS package, version 20260617. Run %previewPackage(HELP) for help info.'
; ;
%if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then %if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then
%do; %do;
@@ -6666,7 +6666,7 @@ des = 'Macro to preview content of a SAS package, version 20260710. 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 `20260710` #; %put # Macro to get preview of a SAS packages, version `20260617` #;
%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 #;
@@ -6800,7 +6800,7 @@ des = 'Macro to preview content of a SAS package, version 20260710. 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 20260710. Run %extendPackagesFileref(HELP) for help info.' des = 'Macro to list directories pointed by "packages" fileref, version 20260617. Run %extendPackagesFileref(HELP) for help info.'
; ;
%if %QUPCASE(&packages.) = HELP %then %if %QUPCASE(&packages.) = HELP %then
@@ -6816,7 +6816,7 @@ des = 'Macro to list directories pointed by "packages" fileref, version 20260710
%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 `20260710` #; %put # Macro to list directories pointed by 'packages' fileref, version `20260617` #;
%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 #;
@@ -6918,7 +6918,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 20260710. Run %loadPackageAddCnt(HELP) for help info.' des = 'Macro to load additional content for a SAS package, version 20260617. Run %loadPackageAddCnt(HELP) for help info.'
minoperator minoperator
; ;
%if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then %if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then
@@ -6934,7 +6934,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 `20260710` #; %put # Macro to *load* additional content for a SAS package, version `20260617` #;
%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 #;
@@ -7284,7 +7284,7 @@ minoperator
%WrongVersionOFPackageAddCnt: %WrongVersionOFPackageAddCnt:
/* restore options */ /* restore optionos */
options ls = &ls_tmp. ps = &ps_tmp. options ls = &ls_tmp. ps = &ps_tmp.
&notes_tmp. &source_tmp. &notes_tmp. &source_tmp.
&stimer_tmp. &fullstimer_tmp. &stimer_tmp. &fullstimer_tmp.
@@ -7305,7 +7305,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 20260710. Run %splitCodeForPackage(HELP) for help info.' / des = 'Utility macro to split "one big" code into multiple files for a SAS package, version 20260617. Run %splitCodeForPackage(HELP) for help info.'
; ;
%if (%superq(codeFile) = ) OR (%qupcase(&codeFile.) = HELP) %then %if (%superq(codeFile) = ) OR (%qupcase(&codeFile.) = HELP) %then
%do; %do;
@@ -7321,7 +7321,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 `20260710` #; %put # files with separate snippets, version `20260617` #;
%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 #;
@@ -7697,7 +7697,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 20260710. */'; put '/* File generated with help of SAS Packages Framework, version 20260617. */';
firstLine[j]=0; firstLine[j]=0;
end; end;
put _infile_; put _infile_;
@@ -7730,7 +7730,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 20260710. Run %relocatePackage(HELP) for help info.' / des = 'Utility macro that locally Copies or Moves Packages, version 20260617. Run %relocatePackage(HELP) for help info.'
secure secure
minoperator minoperator
; ;
@@ -7748,7 +7748,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 `20260710` #; %put # Macro to *locally copy or move* (relocate) SAS packages, version `20260617` #;
%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 #;
@@ -8332,7 +8332,7 @@ options &options_tmp2.;
run; run;
/* restore options */ /* restore optionos */
options ls = &ls_tmp. ps = &ps_tmp. options ls = &ls_tmp. ps = &ps_tmp.
&notes_tmp. &source_tmp. &notes_tmp. &source_tmp.
&stimer_tmp. &fullstimer_tmp. &stimer_tmp. &fullstimer_tmp.
@@ -8413,7 +8413,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 20260710.' des = 'Macro to check if the PACKAGES fileref is "correct", type %isPackagesFilerefOK(HELP) for help, version 20260617.'
; ;
/*** HELP END ***/ /*** HELP END ***/
%if %QUPCASE(&SYSPBUFF.) = %str(%(HELP%)) %then %if %QUPCASE(&SYSPBUFF.) = %str(%(HELP%)) %then
@@ -8429,7 +8429,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 `20260710` #; %put # Macro to check if the `packages` fileref is "correct", version `20260617` #;
%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 #;
@@ -8563,7 +8563,7 @@ SPFmacroName /* space separated list of names */
/ /
minoperator minoperator
secure secure
des = 'Macro to provide help notes about SAS Packages Framework macros, version 20260710. Run %SasPackagesFrameworkNotes(HELP) for help info.' des = 'Macro to provide help notes about SAS Packages Framework macros, version 20260617. Run %SasPackagesFrameworkNotes(HELP) for help info.'
; ;
%local list N i element; %local list N i element;
%let list= %let list=
@@ -8609,7 +8609,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 `20260710` #; %put # Macro prints help notes for SAS Packages Framework macros, version `20260617` #;
%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 #;
@@ -8732,7 +8732,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 20260710. Run %bundlePackages(HELP) for help info.' des='Macro to create a bundle of SAS packages, version 20260617. Run %bundlePackages(HELP) for help info.'
secure minoperator secure minoperator
; ;
@@ -8749,7 +8749,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 `20260710` #; %put # Macro to *create bundles* of SAS packages, version `20260617` #;
%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 #;
@@ -9150,7 +9150,7 @@ run;
/*===================================================================================================*/ /*===================================================================================================*/
/* restore options */ /* restore optionos */
options ls = &ls_tmp. ps = &ps_tmp. options ls = &ls_tmp. ps = &ps_tmp.
&notes_tmp. &source_tmp. &notes_tmp. &source_tmp.
&stimer_tmp. &fullstimer_tmp. &stimer_tmp. &fullstimer_tmp.
@@ -9243,7 +9243,7 @@ filename p2 "R:/dontexist";
,verify=0 ,verify=0
,quiet=0 ,quiet=0
)/ )/
des='Macro to extract a bundle of SAS packages, version 20260710. Run %unbundlePackages(HELP) for help info.' des='Macro to extract a bundle of SAS packages, version 20260617. Run %unbundlePackages(HELP) for help info.'
secure secure
minoperator minoperator
; ;
@@ -9261,7 +9261,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 `20260710` #; %put # Macro to *extract* SAS packages from a bundle, version `20260617` #;
%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 #;
@@ -9551,7 +9551,7 @@ else
end; end;
rc = Q.output(dataset: /* create proper tag */ rc = Q.output(dataset: /* create propper tag */
%if %superq(ods) NE %then %do; "&ods.(label='Bundle: " !! strip(bundleName) !! "')" %end; %if %superq(ods) NE %then %do; "&ods.(label='Bundle: " !! strip(bundleName) !! "')" %end;
%else %do; "&reportFile.1" %end; %else %do; "&reportFile.1" %end;
); );
@@ -9608,7 +9608,7 @@ rc = doSubL(
stop; stop;
run; run;
/*===================================================================================================*/ /*===================================================================================================*/
/* restore options */ /* restore optionos */
options ls = &ls_tmp. ps = &ps_tmp. options ls = &ls_tmp. ps = &ps_tmp.
&notes_tmp. &source_tmp. &notes_tmp. &source_tmp.
&stimer_tmp. &fullstimer_tmp. &stimer_tmp. &fullstimer_tmp.
@@ -9697,7 +9697,7 @@ libname _ "R:\check5";
%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 compatibility for user provided data set names. Version 20260710.'; 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 20260617.';
/* The macro can be called only inside a data step. */ /* The macro can be called only inside a data step. */
/**************************************************************************** /****************************************************************************
### Parameters: ### Parameters:
@@ -9734,7 +9734,7 @@ des='SAS Packages Framework internal macro. Executable only inside selected SPF
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~sas ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~sas
%macro A(ods); %macro A(ods);
data _null_; data _null_;
%SPFinit_intrnl_forceV7DSname(ods); %SPDinit_intrnl_forceV7DSname(ods);
call symputX("ods",ods,"L"); call symputX("ods",ods,"L");
run; run;
@@ -9807,7 +9807,7 @@ des='SAS Packages Framework internal macro. Executable only inside selected SPF
, github = /* name of a user or an organization in GitHub, all characters except [A-z0-9_.-] are compressed */ , github = /* name of a user or an organization in GitHub, all characters except [A-z0-9_.-] are compressed */
, githubRepo = /* repo name to be used, by default it is the package name, but can be altered */ , githubRepo = /* repo name to be used, by default it is the package name, but can be altered */
, githubToken = /* user github fine-grained personal access token */ , githubToken = /* user's github fine-grained personal access token */
, githubTokenDebug = 0 /* debug values: 0,1,2,3 */ , githubTokenDebug = 0 /* debug values: 0,1,2,3 */
, loadPackage=1 /* should the packages be loaded after installing */ , loadPackage=1 /* should the packages be loaded after installing */
@@ -9816,7 +9816,7 @@ des='SAS Packages Framework internal macro. Executable only inside selected SPF
, successDS= /* technical */ , successDS= /* technical */
) )
/secure /secure
des = 'Macro to request SAS package installation and loading, version 20260710. Run %requestPackage(HELP) for help info.' des = 'Macro to request SAS package installation and loading, version 20260617. Run %requestPackage(HELP) for help info.'
; ;
%if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then %if (%superq(packageName) = ) OR (%qupcase(&packageName.) = HELP) %then
@@ -9832,7 +9832,7 @@ des = 'Macro to request SAS package installation and loading, version 20260710.
%put ### This is short help information for the `requestPackage` macro #; %put ### This is short help information for the `requestPackage` macro #;
%put #--------------------------------------------------------------------------------------------#;; %put #--------------------------------------------------------------------------------------------#;;
%put # #; %put # #;
%put # Macro to request (install and load) SAS packages, version `20260710` #; %put # Macro to request (install and load) SAS packages, version `20260617` #;
%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 #;
@@ -9929,7 +9929,7 @@ des = 'Macro to request SAS package installation and loading, version 20260710.
%put # managing-your-personal-access-tokens #; %put # managing-your-personal-access-tokens #;
%put # #creating-a-fine-grained-personal-access-token` #; %put # #creating-a-fine-grained-personal-access-token` #;
%put # (lines break added for easier reading) #; %put # (lines break added for easier reading) #;
%put # Public repositories do not need authentication. #; %put # Public repos do not need authentication. #;
%put # [NOTE!] This feature is experimental in this release. #; %put # [NOTE!] This feature is experimental in this release. #;
%put # #; %put # #;
%put # **Loading options:** #; %put # **Loading options:** #;