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
Allan Bowe
aff29427e2
chore: merge main
2021-11-26 15:37:08 +00:00
Allan Bowe
7bb089e269
fix: moving cleanup to temp table for efficiency
2021-11-26 11:55:55 +00:00
Allan Bowe
a6e9158814
chore: adding recursive option to the mp_dirlist macro, and updating all.sas
2021-11-26 11:52:48 +00:00
Allan Bowe
2d81de5841
chore: generating all.sas and updating doc links
2021-11-25 16:46:56 +00:00
Allan Bowe
107ab836d6
feat: mp_lockXXX macros f
...
These macros provide a centralised approach for locking tables where updates can happen in multiple passes. The mp_lockfilecheck macro will also verify the ability to create a SAS lock (if a v9 library engine, and not a view)
2021-11-25 16:43:39 +00:00
Allan Bowe
5225e74465
chore: adding @vznesh for issue #88
2021-11-18 18:40:32 +00:00
Allan Bowe
39253d2828
chore: merge conflicts
2021-11-18 18:36:32 +00:00
Allan Bowe
171c169537
chore: updating all.sas
2021-11-18 18:36:08 +00:00
Allan Bowe
37ccc8a2aa
fix: removing notes when running mp_zip, closes #88 . .
...
Also adding 3 tests
2021-11-18 18:21:43 +00:00
Allan Bowe
b3d374f1b1
fix: updating node version to LTS for CLI
2021-11-18 13:44:33 +00:00
Allan Bowe
1c4458faf6
chore: comments to mp_unzip
2021-11-18 13:27:17 +00:00
Allan Bowe
96e1d146f4
chore: updating package.json
2021-11-18 13:07:00 +00:00
Allan Bowe
aadc4fb83d
feat: mp_wait4file macro
2021-11-18 13:04:04 +00:00
Allan Bowe
8f9715035a
chore: removing gitpod badge and switching Node to LTS
2021-10-01 12:55:54 +00:00
Allan Bowe
35ddccaa16
fix: refactored mp_getconstraints due to apparent bug in dictionary.table_constraints. Added test. Closes #83
2021-10-01 13:04:26 +01:00
Allan Bowe
cb0ddfb61c
fix: applying tag wrappers to sasjsAbort response json. The adapter will always extract from these in any case, and it seems there are some situations where it is not possible to avoid errors being thrown in SAS 9 (resulting in a log always appearing in the response). This change will make it much easier to handle on the frontend side.
2021-09-30 18:50:02 +01:00
Allan Bowe
c3b6f06b3a
chore: merge commit
2021-09-30 14:48:26 +01:00
Allan Bowe
8046d5a0b1
fix: updating CLI dependency to avoid npm install warnings
2021-09-30 14:47:56 +01:00
Allan Bowe
5bf87a78b8
fix: adding sysmsg() to failed metadata calls
2021-09-30 14:32:52 +01:00
Allan Bowe
0851523d18
chore: gitpod settings
2021-09-29 11:28:59 +00:00
Allan Bowe
4887f355c8
fix: removing redundant dlm option
2021-09-27 20:14:52 +01:00
Allan Bowe
9b32e6e3f2
fix: removing nonprintables from cards data. Closes #80
2021-09-27 20:12:48 +01:00
Allan Bowe
74790ec80e
fix: adding trim to avoid converting trailing blanks
2021-09-27 17:46:53 +01:00
Allan Bowe
bc1f7b3baa
fix: updating test result and making mp_ds2cards header doxygen compliant
2021-09-27 16:39:28 +01:00
Allan Bowe
51690e68dc
feat: adding binary variable support to mp_ds2cards.sas, updating documentation, and including two tests. Closes #78
2021-09-27 16:15:25 +01:00
Allan Bowe
6506993704
fix: ensuring upcase comparisons for dictionary tables
2021-09-27 13:04:32 +01:00
Allan Bowe
d72ca7cb24
fix: warning in mp_assertcolvals from outobs sql option
2021-09-27 12:30:28 +01:00
Allan Bowe
52dfa7b8f7
feat: mp_appendfile macro for appending 2 or more files together
2021-09-27 11:46:19 +01:00
Allan Bowe
dae03c5730
fix: adding SYSSCPL to mp_abort and webout macros
2021-09-24 17:31:42 +01:00
Allan Bowe
14efe5d3fd
chore: removing copyright notice (copy paste error)
2021-09-22 21:10:00 +01:00
Allan Bowe
086831b3f5
chore: updating all.sas
2021-09-22 17:20:02 +01:00
Allan Bowe
6eca585fc1
feat: new mp_getcols macro
2021-09-22 17:19:49 +01:00
Allan Bowe
f6ba36fc28
feat: adding more info to result description in mp_assertcolvals
2021-09-22 17:19:29 +01:00
Allan Bowe
7406288d79
fix: mp_gsubfile() now works with multiline files (and we have a multiline test to go with it)
2021-09-16 18:30:17 +01:00
Allan Bowe
2e7fcbe5b8
fix: prevening truncation of _debug in mp_abort.sas and more reliable way to fetch syswarningtext and syserrortext
2021-09-16 14:04:50 +01:00
Allan Bowe
3e7b9f8c14
chore: fixing example in header for mp_gsubfile()
2021-09-16 13:54:27 +01:00
Allan Bowe
8c00d715c2
chore: formatting
2021-09-14 16:08:30 +01:00
Allan Bowe
d47a369cdf
feat: adding mp_gsubfile.sas - a SAS macro that uses Lua to perform a full text find and replace of an entire file. Not restricted by number of characters (only memory). IIncludes a test.
2021-09-14 16:07:12 +01:00
Allan Bowe
25e61fd8ef
chore: updating all.sas
2021-09-11 19:25:28 +03:00
Allan Bowe
3038be83a0
fix: adding default lengths to vars in mv_getfoldermembers to cover use case where no members found (and downstream process expects an empty table with those vars. Also fixing mp_webin to cover a case where native temp filerefs (starting with a #hash) are not supported.
2021-09-11 19:24:51 +03:00
Allan Bowe
6e2447c70a
fix: missing dependency in mp_webin()
2021-09-11 19:00:04 +03:00