diff --git a/README.md b/README.md index fecedad..e36528b 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Much quality. Many standards. The **Macro Core** library exists to save time and You can download and compile them all in just two lines of SAS code: ```sas -filename mc url "https://raw.githubusercontent.com/sasjs/core/master/mc_all.sas"; +filename mc url "https://raw.githubusercontent.com/sasjs/core/main/all.sas"; %inc mc; ``` @@ -54,7 +54,7 @@ The above can be done directly in your sas program, via an autoexec, or an initi Alternatively - for quick access - simply run the following! This file contains all the macros. ```sas -filename mc url "https://raw.githubusercontent.com/macropeople/macrocore/master/mc_all.sas"; +filename mc url "https://raw.githubusercontent.com/sasjs/core/main/all.sas"; %inc mc; ``` diff --git a/mc_all.sas b/all.sas similarity index 99% rename from mc_all.sas rename to all.sas index f90fa06..5202360 100644 --- a/mc_all.sas +++ b/all.sas @@ -7,10 +7,10 @@ 'included' in SAS with just 2 lines of code: filename mc url - "https://raw.githubusercontent.com/macropeople/macrocore/master/mc_all.sas"; + "https://raw.githubusercontent.com/sasjs/core/main/all.sas"; %inc mc; - The `build.py` file in the https://github.com/macropeople/macrocore repo + The `build.py` file in the https://github.com/sasjs/core repo is used to create this file. @author Allan Bowe @@ -497,7 +497,7 @@ options noquotelenmax; %end; %else %put %str(ERR)OR: Unable to find key &key in ds &libds; %mend;/** - @file mf_getplatform + @file mf_getplatform.sas @brief Returns platform specific variables @details Enables platform specific variables to be returned @@ -1765,7 +1765,7 @@ run; Usage: %* compile macros ; - filename mc url "https://raw.githubusercontent.com/macropeople/macrocore/master/mc_all.sas"; + filename mc url "https://raw.githubusercontent.com/sasjs/core/main/all.sas"; %inc mc; %* write some code; @@ -2311,7 +2311,7 @@ data _null_; put '/*******************************************************************'; put " Datalines for %upcase(%scan(&base_ds,2)) dataset "; put " Generated by %nrstr(%%)mp_ds2cards()"; - put " Available on github.com/macropeople/macrocore"; + put " Available on github.com/sasjs/core"; put '********************************************************************/'; put "data &tgt_ds &indexes;"; put "attrib "; @@ -2465,7 +2465,7 @@ create table &outds as @version 9.3 @author Allan Bowe - @source https://github.com/macropeople/macrocore + @source https://github.com/sasjs/core **/ @@ -2748,7 +2748,7 @@ create table &outds (rename=( Usage: - filename mc url "https://raw.githubusercontent.com/macropeople/macrocore/master/mc_all.sas"; + filename mc url "https://raw.githubusercontent.com/sasjs/core/main/all.sas"; %inc mc; %mp_guesspk(sashelp.class,outds=classpks) @@ -3062,7 +3062,8 @@ create table &outds (rename=( run; If you are building web apps with SAS then you are strongly encouraged to use - the mX_createwebservice macros in combination with [sasjs](https://github.com/macropeople/sasjs). + the mX_createwebservice macros in combination with the + [sasjs adapter](https://github.com/sasjs/adapter). For more information see https://sasjs.io @param action Valid values: @@ -3083,7 +3084,7 @@ create table &outds (rename=( @version 9.2 @author Allan Bowe - @source https://github.com/macropeople/macrocore + @source https://github.com/sasjs/core **/ @@ -3268,7 +3269,7 @@ select distinct lowcase(memname) @version 9.2 @author Allan Bowe - @source https://github.com/macropeople/macrocore + @source https://github.com/sasjs/core **/ @@ -3451,7 +3452,7 @@ run; @version 9.3 @author Allan Bowe - @source https://github.com/macropeople/macrocore + @source https://github.com/sasjs/core **/ @@ -3657,7 +3658,7 @@ proc sql @version 9.2 @author Allan Bowe - @source https://github.com/macropeople/macrocore + @source https://github.com/sasjs/core **/ @@ -3719,7 +3720,7 @@ proc sql @version 9.2 @author Allan Bowe - @source https://github.com/macropeople/macrocore + @source https://github.com/sasjs/core **/ @@ -3769,7 +3770,7 @@ proc sql Usage: - filename mc url "https://raw.githubusercontent.com/macropeople/macrocore/master/mc_all.sas"; + filename mc url "https://raw.githubusercontent.com/sasjs/core/main/all.sas"; %inc mc; %mp_streamfile(contenttype=csv,inloc=/some/where.txt,outname=myfile.txt) @@ -3783,7 +3784,7 @@ proc sql @param outname= the name of the file, as downloaded by the browser @author Allan Bowe - @source https://github.com/macropeople/macrocore + @source https://github.com/sasjs/core **/ @@ -3870,7 +3871,7 @@ proc sql Usage: - filename mc url "https://raw.githubusercontent.com/macropeople/macrocore/master/mc_all.sas"; + filename mc url "https://raw.githubusercontent.com/sasjs/core/main/all.sas"; %inc mc; %mp_unzip(ziploc="/some/file.zip",outdir=/some/folder) @@ -3884,7 +3885,7 @@ proc sql @version 9.4 @author Allan Bowe - @source https://github.com/macropeople/macrocore + @source https://github.com/sasjs/core **/ @@ -4044,7 +4045,7 @@ alter table &libds modify &var char(&len); @version 9.2 @author Allan Bowe - @source https://github.com/macropeople/macrocore + @source https://github.com/sasjs/core **/ @@ -5949,12 +5950,12 @@ run; %mend;/** @file mm_createwebservice.sas @brief Create a Web Ready Stored Process - @details This macro creates a Type 2 Stored Process with the macropeople - mm_webout macro included as pre-code. + @details This macro creates a Type 2 Stored Process with the mm_webout macro + included as pre-code. Usage: %* compile macros ; - filename mc url "https://raw.githubusercontent.com/macropeople/macrocore/master/mc_all.sas"; + filename mc url "https://raw.githubusercontent.com/sasjs/core/main/all.sas"; %inc mc; %* parmcards lets us write to a text file from open code ; @@ -8289,13 +8290,14 @@ libname _XML_ clear; /** @file @brief Retrieves properties of the SAS web app server - @description usage: + @details + Usage: - %mm_getwebappsrvprops(outds= some_ds) - data _null_; - set some_ds(where=(name='webappsrv.server.url')); - put value=; - run; + %mm_getwebappsrvprops(outds= some_ds) + data _null_; + set some_ds(where=(name='webappsrv.server.url')); + put value=; + run; @param outds the dataset to create that contains the list of properties @@ -8309,7 +8311,7 @@ libname _XML_ clear; @version 9.4 @author Allan Bowe - @source https://github.com/macropeople/macrocore + @source https://github.com/sasjs/core **/ @@ -8433,7 +8435,7 @@ filename __shake clear; Usage: %* import the macros (or make them available some other way); - filename mc url "https://raw.githubusercontent.com/macropeople/macrocore/master/mc_all.sas"; + filename mc url "https://raw.githubusercontent.com/sasjs/core/main/all.sas"; %inc mc; %* create sample text file as input to the macro; @@ -8555,7 +8557,7 @@ run; Usage: %* load macros; - filename mc url "https://raw.githubusercontent.com/macropeople/macrocore/master/mc_all.sas"; + filename mc url "https://raw.githubusercontent.com/sasjs/core/main/all.sas"; %inc mc; %* export everything; @@ -9359,7 +9361,7 @@ run; Usage: %* import the macros (or make them available some other way); - filename mc url "https://raw.githubusercontent.com/macropeople/macrocore/master/mc_all.sas"; + filename mc url "https://raw.githubusercontent.com/sasjs/core/main/all.sas"; %inc mc; %* create sample text file as input to the macro; @@ -9457,7 +9459,7 @@ run; @version VIYA V.03.04 @author Allan Bowe - @source https://github.com/macropeople/macrocore + @source https://github.com/sasjs/core
- For more information visit the macropeople MacroCore library.| -For more information visit the macropeople MacroCore library. +For more information visit the Macro Core library. |
©$year $generatedby diff --git a/doxy/new_header.html b/doxy/new_header.html index bc563ea..e313df4 100644 --- a/doxy/new_header.html +++ b/doxy/new_header.html @@ -45,8 +45,8 @@ $extrastylesheet
|
diff --git a/main.dox b/main.dox
index 786d361..c4ef924 100644
--- a/main.dox
+++ b/main.dox
@@ -1,6 +1,6 @@
/** \dir .
- * \brief Open Source Macro Library for Developers of the SAS Language. See: https://github.com/macropeople/macrocore
+ * \brief Open Source Macro Library for Developers of the SAS Language. See: https://github.com/sasjs/core
* \details To use - add the subfolders to your `SASAUTOS` call path.
*/
diff --git a/make_singlefile.sh b/make_singlefile.sh
index 753d2b9..9c10a94 100755
--- a/make_singlefile.sh
+++ b/make_singlefile.sh
@@ -13,10 +13,10 @@ cat > $OUTFILE <<'EOL'
'included' in SAS with just 2 lines of code:
filename mc url
- "https://raw.githubusercontent.com/macropeople/macrocore/master/macrocore.sas";
+ "https://raw.githubusercontent.com/sasjs/core/master/macrocore.sas";
%inc mc;
- The `build.sh` file in the https://github.com/macropeople/macrocore repo
+ The `build.sh` file in the https://github.com/sasjs/core repo
is used to create this file.
@author Allan Bowe
diff --git a/meta/mm_createwebservice.sas b/meta/mm_createwebservice.sas
index 75f666a..50ddc14 100644
--- a/meta/mm_createwebservice.sas
+++ b/meta/mm_createwebservice.sas
@@ -1,12 +1,12 @@
/**
@file mm_createwebservice.sas
@brief Create a Web Ready Stored Process
- @details This macro creates a Type 2 Stored Process with the macropeople
- mm_webout macro included as pre-code.
+ @details This macro creates a Type 2 Stored Process with the mm_webout macro
+ included as pre-code.
Usage:
%* compile macros ;
- filename mc url "https://raw.githubusercontent.com/macropeople/macrocore/master/mc_all.sas";
+ filename mc url "https://raw.githubusercontent.com/sasjs/core/main/all.sas";
%inc mc;
%* parmcards lets us write to a text file from open code ;
diff --git a/meta/mm_getwebappsrvprops.sas b/meta/mm_getwebappsrvprops.sas
index 6e69d1f..bd94d54 100644
--- a/meta/mm_getwebappsrvprops.sas
+++ b/meta/mm_getwebappsrvprops.sas
@@ -1,13 +1,14 @@
/**
@file
@brief Retrieves properties of the SAS web app server
- @description usage:
+ @details
+ Usage:
- %mm_getwebappsrvprops(outds= some_ds)
- data _null_;
- set some_ds(where=(name='webappsrv.server.url'));
- put value=;
- run;
+ %mm_getwebappsrvprops(outds= some_ds)
+ data _null_;
+ set some_ds(where=(name='webappsrv.server.url'));
+ put value=;
+ run;
@param outds the dataset to create that contains the list of properties
@@ -21,7 +22,7 @@
@version 9.4
@author Allan Bowe
- @source https://github.com/macropeople/macrocore
+ @source https://github.com/sasjs/core
**/
diff --git a/meta/mm_spkexport.sas b/meta/mm_spkexport.sas
index db2e369..c4d0701 100644
--- a/meta/mm_spkexport.sas
+++ b/meta/mm_spkexport.sas
@@ -12,7 +12,7 @@
Usage:
%* import the macros (or make them available some other way);
- filename mc url "https://raw.githubusercontent.com/macropeople/macrocore/master/mc_all.sas";
+ filename mc url "https://raw.githubusercontent.com/sasjs/core/main/all.sas";
%inc mc;
%* create sample text file as input to the macro;
diff --git a/meta/mm_tree.sas b/meta/mm_tree.sas
index 7436259..f41dabd 100644
--- a/meta/mm_tree.sas
+++ b/meta/mm_tree.sas
@@ -15,7 +15,7 @@
Usage:
%* load macros;
- filename mc url "https://raw.githubusercontent.com/macropeople/macrocore/master/mc_all.sas";
+ filename mc url "https://raw.githubusercontent.com/sasjs/core/main/all.sas";
%inc mc;
%* export everything;
diff --git a/metax/mmx_spkexport.sas b/metax/mmx_spkexport.sas
index e5c34c8..135488b 100644
--- a/metax/mmx_spkexport.sas
+++ b/metax/mmx_spkexport.sas
@@ -8,7 +8,7 @@
Usage:
%* import the macros (or make them available some other way);
- filename mc url "https://raw.githubusercontent.com/macropeople/macrocore/master/mc_all.sas";
+ filename mc url "https://raw.githubusercontent.com/sasjs/core/main/all.sas";
%inc mc;
%* create sample text file as input to the macro;
diff --git a/viya/mv_createfolder.sas b/viya/mv_createfolder.sas
index fca913a..6d6dfcb 100644
--- a/viya/mv_createfolder.sas
+++ b/viya/mv_createfolder.sas
@@ -16,7 +16,7 @@
@version VIYA V.03.04
@author Allan Bowe
- @source https://github.com/macropeople/macrocore
+ @source https://github.com/sasjs/core
Dependencies@li mp_abort.sas diff --git a/viya/mv_createwebservice.sas b/viya/mv_createwebservice.sas index aa23991..e2f9f62 100644 --- a/viya/mv_createwebservice.sas +++ b/viya/mv_createwebservice.sas @@ -4,7 +4,7 @@ @details Code is passed in as one or more filerefs. %* Step 1 - compile macros ; - filename mc url "https://raw.githubusercontent.com/macropeople/macrocore/master/mc_all.sas"; + filename mc url "https://raw.githubusercontent.com/sasjs/core/main/all.sas"; %inc mc; %* Step 2 - Create some code and add it to a web service; @@ -55,7 +55,7 @@ @version VIYA V.03.04 @author Allan Bowe - @source https://github.com/macropeople/macrocore + @source https://github.com/sasjs/core **/ diff --git a/viya/mv_deletefoldermember.sas b/viya/mv_deletefoldermember.sas index a7f4c63..b452fa8 100644 --- a/viya/mv_deletefoldermember.sas +++ b/viya/mv_deletefoldermember.sas @@ -4,7 +4,7 @@ @details If not executed in Studio 5+ will expect oauth token in a global macro variable (default ACCESS_TOKEN). - filename mc url "https://raw.githubusercontent.com/macropeople/macrocore/master/mc_all.sas"; + filename mc url "https://raw.githubusercontent.com/sasjs/core/main/all.sas"; %inc mc; %mv_createwebservice(path=/Public/test, name=blah) @@ -21,7 +21,7 @@ @version VIYA V.03.04 @author Allan Bowe - @source https://github.com/macropeople/macrocore + @source https://github.com/sasjs/coreDependencies@li mp_abort.sas diff --git a/viya/mv_deletejes.sas b/viya/mv_deletejes.sas index 765a896..cb4d03d 100644 --- a/viya/mv_deletejes.sas +++ b/viya/mv_deletejes.sas @@ -4,7 +4,7 @@ @details If not executed in Studio 5+ will expect oauth token in a global macro variable (default ACCESS_TOKEN). - filename mc url "https://raw.githubusercontent.com/macropeople/macrocore/master/mc_all.sas"; + filename mc url "https://raw.githubusercontent.com/sasjs/core/main/all.sas"; %inc mc; %mv_createwebservice(path=/Public/test, name=blah) @@ -20,7 +20,7 @@ @version VIYA V.03.04 @author Allan Bowe - @source https://github.com/macropeople/macrocore + @source https://github.com/sasjs/coreDependencies@li mp_abort.sas diff --git a/viya/mv_deleteviyafolder.sas b/viya/mv_deleteviyafolder.sas index d00c0f3..2d22365 100644 --- a/viya/mv_deleteviyafolder.sas +++ b/viya/mv_deleteviyafolder.sas @@ -17,7 +17,7 @@ @version VIYA V.03.04 @author Allan Bowe - @source https://github.com/macropeople/macrocore + @source https://github.com/sasjs/coreDependencies@li mp_abort.sas diff --git a/viya/mv_getaccesstoken.sas b/viya/mv_getaccesstoken.sas index b0d222f..42ae9c9 100644 --- a/viya/mv_getaccesstoken.sas +++ b/viya/mv_getaccesstoken.sas @@ -4,7 +4,7 @@ @version VIYA V.03.04 @author Allan Bowe - @source https://github.com/macropeople/macrocore + @source https://github.com/sasjs/coreDependencies@li mv_tokenrefresh.sas diff --git a/viya/mv_getapptoken.sas b/viya/mv_getapptoken.sas index 55ea08c..d77ae95 100644 --- a/viya/mv_getapptoken.sas +++ b/viya/mv_getapptoken.sas @@ -4,7 +4,7 @@ @version VIYA V.03.04 @author Allan Bowe - @source https://github.com/macropeople/macrocore + @source https://github.com/sasjs/coreDependencies@li mv_registerclient.sas diff --git a/viya/mv_getclients.sas b/viya/mv_getclients.sas index 1d5b8d7..b4a86ad 100644 --- a/viya/mv_getclients.sas +++ b/viya/mv_getclients.sas @@ -6,7 +6,7 @@ Using the macros here: filename mc url - "https://raw.githubusercontent.com/macropeople/macrocore/master/mc_all.sas"; + "https://raw.githubusercontent.com/sasjs/core/main/all.sas"; %inc mc; An administrator needs to set you up with an access code: @@ -30,7 +30,7 @@ @version VIYA V.03.04 @author Allan Bowe - @source https://github.com/macropeople/macrocore + @source https://github.com/sasjs/coreDependencies@li mp_abort.sas diff --git a/viya/mv_getfoldermembers.sas b/viya/mv_getfoldermembers.sas index 469d302..624b2b6 100644 --- a/viya/mv_getfoldermembers.sas +++ b/viya/mv_getfoldermembers.sas @@ -16,7 +16,7 @@ @version VIYA V.03.04 @author Allan Bowe - @source https://github.com/macropeople/macrocore + @source https://github.com/sasjs/coreDependencies@li mp_abort.sas diff --git a/viya/mv_getgroupmembers.sas b/viya/mv_getgroupmembers.sas index 35a47f1..3f09405 100644 --- a/viya/mv_getgroupmembers.sas +++ b/viya/mv_getgroupmembers.sas @@ -6,7 +6,7 @@ Using the macros here: filename mc url - "https://raw.githubusercontent.com/macropeople/macrocore/master/mc_all.sas"; + "https://raw.githubusercontent.com/sasjs/core/main/all.sas"; %inc mc; Now we can run the macro! @@ -31,7 +31,7 @@ @version VIYA V.03.04 @author Allan Bowe - @source https://github.com/macropeople/macrocore + @source https://github.com/sasjs/coreDependencies@li mp_abort.sas diff --git a/viya/mv_getgroups.sas b/viya/mv_getgroups.sas index 9f96965..0a78840 100644 --- a/viya/mv_getgroups.sas +++ b/viya/mv_getgroups.sas @@ -6,7 +6,7 @@ Using the macros here: filename mc url - "https://raw.githubusercontent.com/macropeople/macrocore/master/mc_all.sas"; + "https://raw.githubusercontent.com/sasjs/core/main/all.sas"; %inc mc; An administrator needs to set you up with an access code: @@ -30,7 +30,7 @@ @version VIYA V.03.04 @author Allan Bowe - @source https://github.com/macropeople/macrocore + @source https://github.com/sasjs/coreDependencies@li mp_abort.sas diff --git a/viya/mv_getrefreshtoken.sas b/viya/mv_getrefreshtoken.sas index 2d2cc7f..17b6f4a 100644 --- a/viya/mv_getrefreshtoken.sas +++ b/viya/mv_getrefreshtoken.sas @@ -4,7 +4,7 @@ @version VIYA V.03.04 @author Allan Bowe - @source https://github.com/macropeople/macrocore + @source https://github.com/sasjs/coreDependencies@li mv_tokenauth.sas diff --git a/viya/mv_getusergroups.sas b/viya/mv_getusergroups.sas index 7dd65bf..e539ad7 100644 --- a/viya/mv_getusergroups.sas +++ b/viya/mv_getusergroups.sas @@ -6,7 +6,7 @@ Using the macros here: filename mc url - "https://raw.githubusercontent.com/macropeople/macrocore/master/mc_all.sas"; + "https://raw.githubusercontent.com/sasjs/core/main/all.sas"; %inc mc; An administrator needs to set you up with an access code: @@ -30,7 +30,7 @@ @version VIYA V.03.04 @author Allan Bowe - @source https://github.com/macropeople/macrocore + @source https://github.com/sasjs/coreDependencies@li mp_abort.sas diff --git a/viya/mv_getusers.sas b/viya/mv_getusers.sas index cd328d6..791b96f 100644 --- a/viya/mv_getusers.sas +++ b/viya/mv_getusers.sas @@ -6,7 +6,7 @@ Using the macros here: filename mc url - "https://raw.githubusercontent.com/macropeople/macrocore/master/mc_all.sas"; + "https://raw.githubusercontent.com/sasjs/core/main/all.sas"; %inc mc; An administrator needs to set you up with an access code: @@ -48,7 +48,7 @@ @version VIYA V.03.04 @author Allan Bowe - @source https://github.com/macropeople/macrocore + @source https://github.com/sasjs/coreDependencies@li mp_abort.sas diff --git a/viya/mv_registerclient.sas b/viya/mv_registerclient.sas index bf6675a..d0a8641 100644 --- a/viya/mv_registerclient.sas +++ b/viya/mv_registerclient.sas @@ -12,7 +12,7 @@ Usage: %* compile macros; - filename mc url "https://raw.githubusercontent.com/macropeople/macrocore/master/mc_all.sas"; + filename mc url "https://raw.githubusercontent.com/sasjs/core/main/all.sas"; %inc mc; %* specific client with just openid scope; @@ -53,7 +53,7 @@ @version VIYA V.03.04 @author Allan Bowe - @source https://github.com/macropeople/macrocore + @source https://github.com/sasjs/coreDependencies@li mp_abort.sas diff --git a/viya/mv_tokenauth.sas b/viya/mv_tokenauth.sas index ead93b5..9e128cd 100644 --- a/viya/mv_tokenauth.sas +++ b/viya/mv_tokenauth.sas @@ -15,7 +15,7 @@ Usage: - filename mc url "https://raw.githubusercontent.com/macropeople/macrocore/master/mc_all.sas"; + filename mc url "https://raw.githubusercontent.com/sasjs/core/main/all.sas"; %inc mc; @@ -41,7 +41,7 @@ @version VIYA V.03.04 @author Allan Bowe - @source https://github.com/macropeople/macrocore + @source https://github.com/sasjs/coreDependencies@li mp_abort.sas diff --git a/viya/mv_tokenrefresh.sas b/viya/mv_tokenrefresh.sas index f49faeb..a519827 100644 --- a/viya/mv_tokenrefresh.sas +++ b/viya/mv_tokenrefresh.sas @@ -41,7 +41,7 @@ @version VIYA V.03.04 @author Allan Bowe - @source https://github.com/macropeople/macrocore + @source https://github.com/sasjs/coreDependencies@li mp_abort.sas |