Commit Graph
100 Commits
Author SHA1 Message Date
Allan Bowe 2579b4c929 feat: new mcf_length.sas fcmp macro 2022-01-22 17:16:08 +00:00
Allan Bowe 9fb218f0be fix: renaming outcat to outlib for wider compatibility 2022-01-20 09:14:11 +00:00
Allan Bowe a37a72b7db feat: adding mp_assertscope.sas, closes #146. Also adding test for mp_assert.sas 2022-01-18 18:24:53 +00:00
munja 42541373af chore: running all.sas 2022-01-12 21:25:15 +01:00
munja 208c88f5a4 feat: ensuring mX_webout services run without MEMSIZE, closes #142. Also adding note2err in mp_init(). 2022-01-12 21:23:42 +01:00
munja 4bec574011 fix: dirlist logic 2022-01-11 11:06:38 +01:00
Allan Bowe 351ceeb357 fix: tidy up 2022-01-10 18:42:52 +00:00
munja 4307bfb1b5 fix: adding showmeta option to mX_createwebservce macros 2022-01-09 13:18:14 +01:00
munja 70b9b71104 fix: base table on mp_lockanytable.test.sas 2022-01-07 14:12:08 +01:00
munja cd33355418 fix: formats 2022-01-07 13:14:40 +01:00
munja 77d1cdb753 feat: adding length to mp_webout meta 2022-01-07 12:23:40 +01:00
munja 545218e3b9 fix: avoiding type clash 2022-01-06 23:44:42 +01:00
munja cb07305a87 feat: adding SHOWMETA option to mp_jsonout
Includes updates to associated wrapper macros, and a 30% performance improvement (for small tables).  Addresses https://github.com/sasjs/adapter/issues/607
2022-01-06 23:36:54 +01:00
munja ebd567af48 fix: adding missing param to mx_createwebservice macros 2021-12-30 09:53:08 +00:00
munja e143acd67d chore: automated commit 2021-12-30 00:30:14 +00:00
munja 84eb2f1845 chore: automated commit 2021-12-30 00:29:48 +00:00
munja b075e5d5d5 feat: updating mp_jsonout() to support special missing numeric values. Closes #136 2021-12-30 00:21:02 +00:00
munja 469bd574ac fix: removing 'Log Extract' from abort MSG in mp_abort when not capturing the log 2021-12-29 12:35:25 +00:00
munja 0361ca574d fix: preventing error when mp_applyformats has no formats to apply 2021-12-29 12:19:34 +00:00
munja eac47bd5db fix: adding fmtname to mp_getcols() macro 2021-12-28 13:25:53 +00:00
munja d302ef266d chore: doc page formatting & content 2021-12-27 11:54:46 +00:00
munja fdfe9b8250 fix: enabling further debugging in mp_filterstore.sas 2021-12-26 20:32:56 +00:00
munja 9b1f0d7bcb fix: avoiding append warning: syswarningtext=Variable processed_dttm has format DATETIME19. on the BASE data set and format E8601DT26. on the DATA data set. 2021-12-26 16:27:04 +00:00
munja ce026f19b5 feat: new mp_filterstore macro 2021-12-26 15:06:06 +00:00
munja 8e723d06b0 feat: mp_filterstore macro 2021-12-26 01:06:56 +00:00
munja 536ce8e95d feat: new macro (mp_retainedkey) for adding retained key values to a staging table 2021-12-25 20:21:32 +00:00
munja 1062a97cfe feat: new validation (ISINT) in the mp_validatecol.sas macro - https://core.sasjs.io/mp__validatecol_8sas_source.html 2021-12-24 22:02:23 +00:00
munja 7c4278c3f9 chore: updating all.sas 2021-12-23 19:29:54 +00:00
munja 6c6b55dcea chore: updating header, adding stop statement in mp_makedata(), writing test for mf_existvar() 2021-12-23 19:29:37 +00:00
munja 66b0c9e77e feat: new mf_writefile() macro 2021-12-23 19:29:01 +00:00
munja 3866b97416 chore: updating doc header 2021-12-23 13:55:53 +00:00
munja d687658687 chore: updating all.sas 2021-12-23 13:51:11 +00:00
munja 9f815c73e9 feat: new mp_applyformats macro (and test), plus new addition to mp_validatecol (is_format) 2021-12-23 13:50:58 +00:00
munja f2991cfd63 fix: enabling makedata support for charvars > and tables without primary keys. Also added tests. 2021-12-23 10:56:01 +00:00
munja f90dc069dc feat: update to makedata to respect primary keys (and enable joins to other tables) 2021-12-22 15:12:10 +00:00
munja 436b430389 feat: mf_islibds() macro to test if a library.dataset reference is syntactically valid 2021-12-22 11:23:57 +00:00
munja bce56d8105 feat: new wordsinstr1andstr2() macro and associated tests 2021-12-21 21:54:48 +00:00
munja 2ec440b321 fix: removing termstr=lf as it breaks on SAS 9 deploys 2021-12-21 19:34:08 +00:00
munja 3d2ad531cf chore: docs 2021-12-18 14:37:54 +00:00
munja 0ca16f3d04 fix: quoting the server option in mm_assigndirectlib() to avoid assignment errors when the name contains dashes aetc 2021-12-18 14:11:38 +00:00
munja b2e2c7c798 chore(lint): fix indentation 2021-12-17 17:14:41 +00:00
munja b29dd38188 fix: preventing merged cells in sas-generated markdown tables.
BREAKING CHANGE: renamed mp_mdtablewrite.sas to mp_ds2md.sas and modified the parameter from fref to outref.  This makes it more consistent with the other mp_ds2xx range of macros.
2021-12-17 17:14:03 +00:00
munja e8f656f48a chore: lint fixes 2021-12-17 00:57:35 +00:00
munja 1eb90202b9 fix: failing test for mp_getformats 2021-12-17 00:55:51 +00:00
munja 82108f4b97 fix: ensuring test for mp_sortinplace passes, fixing uninitialised var in mp_mdtablewrite, fix for non pk table in mp_getformats 2021-12-17 00:53:13 +00:00
munja ab1030afb1 feat: finishing mp_formats and adding a test, including prefix in mp_init, allowing mp_sortinplace to work when there is no primary key, sand other small fixes 2021-12-17 00:32:49 +00:00
munja 26292740bb feat: mp_getformats() macro. Extracts bformat summary and detail 2021-12-16 00:02:52 +00:00
munja 96cc131305 chore(docs): updating header in mf_getquotedstr 2021-12-16 00:01:58 +00:00
munja 724cd72876 feat: adding mf_getfmtlist() and mf_getfmtname() macros and associated tests. Also added &sasjswork as a global macro variable in mp_init(). 2021-12-15 21:05:12 +00:00
munja fa5d9ef744 feat: adding ls=max to mp_init.sas to reduce log ever so slightly and also to avoid word truncation 2021-12-15 19:20:14 +00:00
munja 3f20ca03dd chore: updating all.sas 2021-12-15 17:04:27 +00:00
munja 3a826dccf1 feat: mf_dedup and associated test 2021-12-15 17:04:08 +00:00
munja a1ce68ce56 fix: avoiding uninitialised variables in mm_getdetails and mm_gettables.sas 2021-12-15 15:10:17 +00:00
munja a45384aacb chore: updating all.sas 2021-12-15 12:18:56 +00:00
munja 5faaa4a4cd fix: test for mp_storediffs 2021-12-15 12:15:36 +00:00
munja c9d8df0a48 fix: updates from testing mp_storediffs (impact on some related macros) 2021-12-15 10:16:24 +00:00
munja d93693ba55 feat: mp_storediffs macro. Closes #113 2021-12-14 17:45:37 +00:00
munja d49b21f3f1 fix: initialising name/uri in mv_jobexecute 2021-12-14 08:42:39 +00:00
munja a45d280a51 fix: avoiding uninitialised variables in mv_getjobcode and mv_getfoldermembers 2021-12-14 08:20:32 +00:00
munja 8b5238230b feat: new macro to determine if a macro variable value is an integer - mf_isint (and associated test) 2021-12-13 18:36:22 +00:00
munja 0ce7efee3e fix: declaring msg variable prior to set statement in mp_copyfolder.sas 2021-12-13 11:26:17 +00:00
munja 357677e45c chore: switching pre-commit hook to bash from shell 2021-12-13 09:14:29 +00:00
munja 0a29006914 chore: running all.sas 2021-12-13 01:08:37 +00:00
munja 0885bad859 fix: updating the tests following varinitchk=error enablement. Removing the word 'error' from documenttion. 2021-12-13 01:07:54 +00:00
munja 42bd1750bd feat: adding varinitchk=ERROR to mp_init. Closes #110. Also updated the comments / documentation 2021-12-12 22:57:25 +00:00
munja e125aace9b fix: rebuilding mp_searchdata into data step to avoid SQL warning. Added test and refreshed docs. Closes #108 2021-12-10 15:56:39 +00:00
munja 3d3c76c836 fix: adding iftrue switch to mp_hashdataset 2021-12-08 20:58:59 +00:00
munja 6c8165601d chore: adding hook script to prevent accidental commits to master 2021-12-07 16:58:23 +00:00
munja 596624c1bf chore: remove the word ERROR from the code 2021-12-06 15:14:46 +00:00
munja 4aca34d4c2 fix: missing end comment in mp_init.sas 2021-12-06 14:58:13 +00:00
munja 8af41a8cc3 feat: v1 of the mp_makedata() macro. Will create random data from an empty table definition. Many more features to be added 2021-12-06 00:36:31 +00:00
munja b13c33cbde fix: using byte codes to tidy up apostrophe logic, and new param for mf_getquotedstr macro 2021-12-06 00:12:36 +00:00
munja 6906f025d6 fix: updating tests that are failing due to changes / new options 2021-12-05 23:56:36 +00:00
munja 8b355b8056 feat: new macros (mp_reseterror and mp_init), new datetime format added to mp_getcols, and stub prepared for mp_makedata 2021-12-05 23:35:25 +00:00
munja 8938553588 chore: updating header in mp_getpk.sas 2021-12-05 19:08:06 +00:00
munja 14852f3647 chore: updating README headers and licence date 2021-12-05 17:24:15 +00:00
munja b55e91784d chore: updating all.sas 2021-12-05 16:57:29 +00:00
munja fc14aaa37f chore: updating docs 2021-12-05 16:57:16 +00:00
munja c4e9ab7b3e feat: mp_sortinplace and corresponding test. Closes #102. 2021-12-05 15:55:32 +00:00
munja 11c181ef8b chore: adding test for mf_existds 2021-12-05 14:14:14 +00:00
Allan Bowe 1d0754d705 fix: quoting memsize in ms_webout 2021-12-05 12:28:20 +00:00
Allan Bowe 80acecd3e6 fix: checking for existence of stpsrv_header function before creating it in mcf_stpsrv_header (sasjs/server feature) 2021-12-05 11:09:47 +00:00
Allan Bowe cb2a8db087 fix: remove jsonengine var from ms_webout 2021-12-05 10:38:42 +00:00
munja 17b58d775a feat: sortinplace macro 2021-12-05 00:52:16 +00:00
munja a801e5c1f1 feat: mp_getpk macro (and test). Extracts primary keys from a table or library and presents them at table level in the correct order (of cols within a constraint) 2021-12-05 00:41:36 +00:00
munja 966f2cf78d fix: addressing corrupted unzips in certain cases 2021-12-05 00:39:47 +00:00
munja 8c21b9397f fix: adding constraint_order to mp_getconstraints 2021-12-04 14:54:18 +00:00
munja 6056b739bf chore: updating header info 2021-12-04 14:25:54 +00:00
munja 7823933cf7 feat: adding iftrue condition to mp_dropmembers for easier debug management 2021-12-04 14:24:28 +00:00
munja 7623abb1f7 chore: updating header 2021-12-04 12:19:49 +00:00
munja f7335b78c3 fix: enabling binary file support in mp_unzip 2021-12-04 00:41:42 +00:00
Allan Bowe 7ce480db6a fix: updating all.sas 2021-12-02 13:29:02 +00:00
Allan Bowe 678250ba27 fix: tests 2021-11-30 16:39:33 +00:00
Allan Bowe 6845a63196 chore: tidy up repo 2021-11-30 16:31:26 +00:00
Allan Bowe 3103abe3c8 chore: updating readme and dox file 2021-11-30 16:27:04 +00:00
Allan Bowe 318fd1ddde feat: adding ms_webout macro for server responses on sasjs/server. Closes #98 2021-11-30 15:26:02 +00:00
Allan Bowe 02de4e42bf chore: generating all.sas and fixing indentation 2021-11-29 11:35:37 +00:00
Allan Bowe ddd831fe7a feat: new copyfolder macro and associated test. Closes #92 2021-11-29 11:35:03 +00:00
Allan Bowe 3b395b3ae5 chore: all.sas update 2021-11-26 16:20:33 +00:00
Allan Bowe 9e84e47563 feat: mp_deletefolder tests, closes #90 2021-11-26 16:20:13 +00:00