diff --git a/README.md b/README.md
index 91885ad..c0145c6 100644
--- a/README.md
+++ b/README.md
@@ -111,9 +111,9 @@ SHA256 digest for MacroCore: A23C29529F3CE7D0C8BEE9545C5D22D5B5594907547374A5135
[Documentation for MacroCore](https://core.sasjs.io "Documentation for MacroCore")
-- **DFA** (Dynamic Function Arrays)\[0.4\], contains set of macros and FCMP functions which implement: a dynamically allocated array, a stack, a fifo queue, an ordered stack, and a priority queue, run `%helpPackage(DFA,createDFArray)` to find examples.
+- **DFA** (Dynamic Function Arrays)\[0.5\], contains set of macros and FCMP functions which implement: a dynamically allocated array, a stack, a fifo queue, an ordered stack, and a priority queue, run `%helpPackage(DFA,createDFArray)` to find examples.
-SHA256 digest for DFA: E777D4578DFDEB2277D58264BAB5BFDBEAFD4E538D4831CDCBFFB4216D2441C2
+SHA256 digest for DFA: 179AAB9DF3DE8F049A4EFDF5FB0BE92AE5F7BFA7708D4365F39D4DC71C4F90FE
[Documentation for DFA](https://github.com/yabwon/SAS_PACKAGES/blob/main/packages/dfa.md "Documentation for DFA")
diff --git a/packages/README.md b/packages/README.md
index efbba27..67eb3d8 100644
--- a/packages/README.md
+++ b/packages/README.md
@@ -32,7 +32,7 @@ SHA256 digest for MacroCore: A23C29529F3CE7D0C8BEE9545C5D22D5B5594907547374A5135
---
-- **DFA** (Dynamic Function Arrays)\[0.4\], contains set of macros and FCMP functions which implement: a dynamically allocated array, a stack, a fifo queue, an ordered stack, and a priority queue, run `%helpPackage(DFA,createDFArray)` to find examples.
+- **DFA** (Dynamic Function Arrays)\[0.5\], contains set of macros and FCMP functions which implement: a dynamically allocated array, a stack, a fifo queue, an ordered stack, and a priority queue, run `%helpPackage(DFA,createDFArray)` to find examples.
```sas
%createDFArray(ArrDynamic, resizefactor=17);
@@ -59,7 +59,7 @@ data _null_;
end;
run;
```
-SHA256 digest for DFA: E777D4578DFDEB2277D58264BAB5BFDBEAFD4E538D4831CDCBFFB4216D2441C2
+SHA256 digest for DFA: 179AAB9DF3DE8F049A4EFDF5FB0BE92AE5F7BFA7708D4365F39D4DC71C4F90FE
[Documentation for DFA](https://github.com/yabwon/SAS_PACKAGES/blob/main/packages/dfa.md "Documentation for DFA")
diff --git a/packages/SHA256_for_packages.txt b/packages/SHA256_for_packages.txt
index 43c3a77..128b142 100644
--- a/packages/SHA256_for_packages.txt
+++ b/packages/SHA256_for_packages.txt
@@ -1,3 +1,6 @@
+/* 20210117 */
+DFA: 179AAB9DF3DE8F049A4EFDF5FB0BE92AE5F7BFA7708D4365F39D4DC71C4F90FE
+
/* 20210109 */
BasePlus: 28F3DE865C5E3B914FFB7CC2627D8B0975527EEECEE7AFEAD7B335C3FDC1BFD3
DFA: E777D4578DFDEB2277D58264BAB5BFDBEAFD4E538D4831CDCBFFB4216D2441C2
diff --git a/packages/dfa.md b/packages/dfa.md
index 92b6124..25601ea 100644
--- a/packages/dfa.md
+++ b/packages/dfa.md
@@ -18,7 +18,7 @@
---
-# The DFA package [ver. 0.4] ###############################################
+# The DFA package [ver. 0.5] ###############################################
The **DFA** (a.k.a. *Dynamic Function Array*) package implements:
- dynamic numeric and character arrays,
@@ -55,7 +55,7 @@ Package contains:
*SAS package generated by generatePackage, version 20210109*
The SHA256 hash digest for package BasePlus:
-`E777D4578DFDEB2277D58264BAB5BFDBEAFD4E538D4831CDCBFFB4216D2441C2`
+`179AAB9DF3DE8F049A4EFDF5FB0BE92AE5F7BFA7708D4365F39D4DC71C4F90FE`
---
# Content description ############################################################################################
@@ -81,6 +81,7 @@ The basic syntax is the following, the `<...>` means optional parameters:
<,resizeFactor=0>
<,outlib=work.DFAfcmp.package>
<,hashexp=13>
+ <,header=1>
)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -118,6 +119,10 @@ The basic syntax is the following, the `<...>` means optional parameters:
* `hashexp=` - *Optional*, the default value is `13`. It is the default `hashexp=`
value for internal hash table used by the function.
+* `header=` - *Optional*, the default value is `1`. Indicates if
+ the `proc fcmp outlib = &outlib.;` header is added to
+ the executed code. If not 1 then no header is added.
+
**Created function arguments description**:
A function generated by the macro is:
@@ -323,6 +328,7 @@ The basic syntax is the following, the `<...>` means optional parameters:
<,type=8>
<,outlib=work.DFAfcmp.package>
<,hashexp=13>
+ <,header=1>
)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -351,6 +357,10 @@ The basic syntax is the following, the `<...>` means optional parameters:
* `hashexp=` - *Optional*, the default value is `13`. It is the default `hashexp=`
value for internal hash table used by the function.
+* `header=` - *Optional*, the default value is `1`. Indicates if
+ the `proc fcmp outlib = &outlib.;` header is added to
+ the executed code. If not 1 then no header is added.
+
**Created function arguments description**:
A function generated by the macro is:
@@ -477,6 +487,7 @@ The basic syntax is the following, the `<...>` means optional parameters:
<,type=8>
<,outlib=work.DFAfcmp.package>
<,hashexp=13>
+ <,header=1>
)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -505,6 +516,10 @@ The basic syntax is the following, the `<...>` means optional parameters:
* `hashexp=` - *Optional*, the default value is `13`. It is the default `hashexp=`
value for internal hash table used by the function.
+* `header=` - *Optional*, the default value is `1`. Indicates if
+ the `proc fcmp outlib = &outlib.;` header is added to
+ the executed code. If not 1 then no header is added.
+
**Created function arguments description**:
A function generated by the macro is:
@@ -648,6 +663,7 @@ The basic syntax is the following, the `<...>` means optional parameters:
<,order=A>
<,outlib=work.DFAfcmp.package>
<,hashexp=13>
+ <,header=1>
)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -680,7 +696,10 @@ The basic syntax is the following, the `<...>` means optional parameters:
* `hashexp=` - *Optional*, the default value is `13`. It is the default `hashexp=`
value for internal hash table used by the function.
-
+* `header=` - *Optional*, the default value is `1`. Indicates if
+ the `proc fcmp outlib = &outlib.;` header is added to
+ the executed code. If not 1 then no header is added.
+
**Created function arguments description**:
A function generated by the macro is:
@@ -804,6 +823,7 @@ The basic syntax is the following, the `<...>` means optional parameters:
<,newOnTop=+>
<,outlib=work.DFAfcmp.package>
<,hashexp=13>
+ <,header=1>
)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -837,7 +857,10 @@ The basic syntax is the following, the `<...>` means optional parameters:
* `hashexp=` - *Optional*, the default value is `13`. It is the default `hashexp=`
value for internal hash table used by the function.
-
+* `header=` - *Optional*, the default value is `1`. Indicates if
+ the `proc fcmp outlib = &outlib.;` header is added to
+ the executed code. If not 1 then no header is added.
+
**Created function arguments description**:
A function generated by the macro is:
@@ -965,6 +988,7 @@ The basic syntax is the following, the `<...>` means optional parameters:
<,type=8>
<,outlib=work.DFAfcmp.package>
<,hashexp=13>
+ <,header=1>
)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -993,7 +1017,10 @@ The basic syntax is the following, the `<...>` means optional parameters:
* `hashexp=` - *Optional*, the default value is `13`. It is the default `hashexp=`
value for internal hash table used by the function.
-
+* `header=` - *Optional*, the default value is `1`. Indicates if
+ the `proc fcmp outlib = &outlib.;` header is added to
+ the executed code. If not 1 then no header is added.
+
**Created function arguments description**:
A function generated by the macro is:
@@ -1289,6 +1316,7 @@ The basic syntax is the following, the `<...>` means optional parameters:
<,debug=0>
<,outlib=work.DFAfcmp.package>
<,type=32>
+ <,header=1>
)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -1315,6 +1343,10 @@ The basic syntax is the following, the `<...>` means optional parameters:
and with 52 the `bit64orDFA()` and `bit64and DFA()` FCMP
functions are used.
+* `header=` - *Optional*, the default value is `1`. Indicates if
+ the `proc fcmp outlib = &outlib.;` header is added to
+ the executed code. If not 1 then no header is added.
+
**Created function arguments description**:
A function generated by the macro is:
diff --git a/packages/dfa.zip b/packages/dfa.zip
index a0db410..f9619c9 100644
Binary files a/packages/dfa.zip and b/packages/dfa.zip differ