1
0
mirror of https://github.com/sasjs/core.git synced 2026-01-16 13:00:05 +00:00

feat: new macros (mp_reseterror and mp_init), new datetime format added to mp_getcols, and stub prepared for mp_makedata

This commit is contained in:
munja
2021-12-05 23:35:25 +00:00
parent 8938553588
commit 8b355b8056
8 changed files with 183 additions and 1 deletions

View File

@@ -0,0 +1,23 @@
/**
@file
@brief Testing mp_reseterror macro
<h4> SAS Macros </h4>
@li mp_assert.sas
@li mp_reseterror.sas
**/
/* cause an error */
lock sashelp.class;
/* recover ? */
%mp_reseterror()
%mp_assert(
iftrue=(&success=1),
desc=Checking sashelp table cannot be locked,
outds=work.test_results
)