mirror of
https://github.com/yabwon/SAS_PACKAGES.git
synced 2026-01-12 09:10:05 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fe631f9e44 | ||
|
|
3f380b4e64 | ||
|
|
02de8f0bc0 |
@@ -164,12 +164,12 @@ SHA256 digest for BasePlus: B34E352EC52E05B8BBE1816E6104F47677CBFDEAF7CD71B8BF04
|
|||||||
|
|
||||||
[Documentation for BasePlus](https://github.com/yabwon/SAS_PACKAGES/blob/main/packages/baseplus.md "Documentation for BasePlus")
|
[Documentation for BasePlus](https://github.com/yabwon/SAS_PACKAGES/blob/main/packages/baseplus.md "Documentation for BasePlus")
|
||||||
|
|
||||||
- **GSM** (Generate Secure Macros)\[0.14\], package allows
|
- **GSM** (Generate Secure Macros)\[0.17\], package allows
|
||||||
to create secured macros stored in SAS Proc FCMP functions.
|
to create secured macros stored in SAS Proc FCMP functions.
|
||||||
The dataset with functions can be shared between different operating systems
|
The dataset with functions can be shared between different operating systems
|
||||||
and allows to generate macros on site without showing their code.
|
and allows to generate macros on site without showing their code.
|
||||||
|
|
||||||
SHA256 digest for GSM: BEFAA87266D6DBA3D5983117FC36A24DE03A2F93791AC786DCDB37571A4494AC
|
SHA256 digest for GSM: F6EE77A3C042E1E083E970BE255D126B52A75205DC1FB9A4A7337D0A89EEC7EB
|
||||||
|
|
||||||
[Documentation for GSM](https://github.com/yabwon/SAS_PACKAGES/blob/main/packages/gsm.md "Documentation for GSM")
|
[Documentation for GSM](https://github.com/yabwon/SAS_PACKAGES/blob/main/packages/gsm.md "Documentation for GSM")
|
||||||
|
|
||||||
|
|||||||
@@ -110,12 +110,12 @@ SHA256 digest for BasePlus: B34E352EC52E05B8BBE1816E6104F47677CBFDEAF7CD71B8BF04
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
- **GSM** (Generate Secure Macros)\[0.14\], package allows
|
- **GSM** (Generate Secure Macros)\[0.17\], package allows
|
||||||
to create secured macros stored in SAS Proc FCMP functions.
|
to create secured macros stored in SAS Proc FCMP functions.
|
||||||
The dataset with functions can be shared between different operating systems
|
The dataset with functions can be shared between different operating systems
|
||||||
and allows to generate macros on site without showing their code.
|
and allows to generate macros on site without showing their code.
|
||||||
|
|
||||||
SHA256 digest for GSM: BEFAA87266D6DBA3D5983117FC36A24DE03A2F93791AC786DCDB37571A4494AC
|
SHA256 digest for GSM: F6EE77A3C042E1E083E970BE255D126B52A75205DC1FB9A4A7337D0A89EEC7EB
|
||||||
|
|
||||||
[Documentation for GSM](https://github.com/yabwon/SAS_PACKAGES/blob/main/packages/gsm.md "Documentation for GSM")
|
[Documentation for GSM](https://github.com/yabwon/SAS_PACKAGES/blob/main/packages/gsm.md "Documentation for GSM")
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,14 @@
|
|||||||
|
/* 20211112 */
|
||||||
|
GSM: F6EE77A3C042E1E083E970BE255D126B52A75205DC1FB9A4A7337D0A89EEC7EB
|
||||||
|
|
||||||
|
/* 20211111 */
|
||||||
|
BasePlus: B34E352EC52E05B8BBE1816E6104F47677CBFDEAF7CD71B8BF04FDBFA01B0EF0
|
||||||
|
DFA: C32A81304A411C1EB6BA7B76EDB8D70550F3935F35A1506E2B8019A2036FB5FF
|
||||||
|
dynMacroArray: 9FE227EF3144431B51063D599148BDD8873509D1B32F1AC2979EC566E1BB1487
|
||||||
|
GSM: BEFAA87266D6DBA3D5983117FC36A24DE03A2F93791AC786DCDB37571A4494AC
|
||||||
|
macroArray: 70032D27081A0EE15BC82B8F14D2A61700FA7C1F0D88B4DB516AB433CD06C4D3
|
||||||
|
SQLinDS: F2BE3CC68C9A34DD324FD35C8287A4F89737E2E28E806E0DD7FB0EBF60F7C569
|
||||||
|
|
||||||
/* 20211105 */
|
/* 20211105 */
|
||||||
GSM: 3EAF6E93642CCA9B5B592DF9BED4C8B20B60BCD4B0434720D12D26096717C4A9
|
GSM: 3EAF6E93642CCA9B5B592DF9BED4C8B20B60BCD4B0434720D12D26096717C4A9
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
# The GSM package [ver. 0.15] <a name="gsm-package"></a> ###############################################
|
# The GSM package [ver. 0.17] <a name="gsm-package"></a> ###############################################
|
||||||
|
|
||||||
The **GSM** (a.k.a. *Generate Secure Macros*) package allows
|
The **GSM** (a.k.a. *Generate Secure Macros*) package allows
|
||||||
to create secured macros stored in SAS Proc FCMP functions.
|
to create secured macros stored in SAS Proc FCMP functions.
|
||||||
@@ -67,8 +67,8 @@ Required SAS Components:
|
|||||||
|
|
||||||
* SAS package generated by generatePackage, version 20211111 *
|
* SAS package generated by generatePackage, version 20211111 *
|
||||||
|
|
||||||
The SHA256 hash digest for package BasePlus:
|
The SHA256 hash digest for package GSM:
|
||||||
`BEFAA87266D6DBA3D5983117FC36A24DE03A2F93791AC786DCDB37571A4494AC`
|
`F6EE77A3C042E1E083E970BE255D126B52A75205DC1FB9A4A7337D0A89EEC7EB`
|
||||||
|
|
||||||
|
|
||||||
## >>> `%GSM()` macro: <<< <a name="gsm-macro"></a> #######################
|
## >>> `%GSM()` macro: <<< <a name="gsm-macro"></a> #######################
|
||||||
@@ -115,6 +115,7 @@ The basic syntax is the following, the `<...>` means optional parameters:
|
|||||||
<,source2=>
|
<,source2=>
|
||||||
<,outpath=>
|
<,outpath=>
|
||||||
<,encodingRestricted=>
|
<,encodingRestricted=>
|
||||||
|
<,secret=>
|
||||||
)
|
)
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
@@ -142,6 +143,13 @@ The basic syntax is the following, the `<...>` means optional parameters:
|
|||||||
encoding of the session which generates the dataset then
|
encoding of the session which generates the dataset then
|
||||||
the generateMacros() function will not execute macro code.
|
the generateMacros() function will not execute macro code.
|
||||||
|
|
||||||
|
* `secret=` - *Optional*, the default value is null, in such case the
|
||||||
|
secret is generated from the `sha256(datetime(), hex32.)` function
|
||||||
|
and is printed in the log. When not null then should be
|
||||||
|
alphanumerical constant. Non-alphanumerical characters are removed.
|
||||||
|
Required to execute the `resolve()` function.
|
||||||
|
User who do not know the value will not be able
|
||||||
|
to run the `_maxro_XX_()` function.
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
@@ -179,7 +187,7 @@ data _null_;
|
|||||||
cards4;
|
cards4;
|
||||||
%macro xyz(x) / SECURE;
|
%macro xyz(x) / SECURE;
|
||||||
%do i = 1 %to &x.;
|
%do i = 1 %to &x.;
|
||||||
%put &i=;
|
%put &=i;
|
||||||
%end;
|
%end;
|
||||||
%mend;
|
%mend;
|
||||||
;;;;
|
;;;;
|
||||||
@@ -214,6 +222,7 @@ The basic syntax is the following, the `<...>` means optional parameters:
|
|||||||
<,outlib=work.generateMacros.secure>
|
<,outlib=work.generateMacros.secure>
|
||||||
<,source2=>
|
<,source2=>
|
||||||
<,fileNameCode=FNC>
|
<,fileNameCode=FNC>
|
||||||
|
<,secret=123456789>
|
||||||
)
|
)
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
@@ -238,6 +247,11 @@ The basic syntax is the following, the `<...>` means optional parameters:
|
|||||||
* `fileNameCode=` - *Optional*, the default value is `FNC`.
|
* `fileNameCode=` - *Optional*, the default value is `FNC`.
|
||||||
Internal fileref.
|
Internal fileref.
|
||||||
|
|
||||||
|
* `secret=` - *Optional*, internal, the default value is `1234567890`.
|
||||||
|
Alphanumerical constant required to execute the `resolve()`
|
||||||
|
function. User who do not know the value will not be able
|
||||||
|
to run the `_maxro_XX_()` function.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
BIN
packages/gsm.zip
BIN
packages/gsm.zip
Binary file not shown.
Reference in New Issue
Block a user