Loading...
Loading...
Standards and conventions for the @sasjs/core SAS macro library (mf_*, mp_*, mm*, ms_*, mv_* macros). Use when writing or editing SAS macros in a sasjs/core-style repo, when choosing an existing macro instead of reinventing one, or when asked about the sasjs/core build, lint, doxygen header, or testing conventions.
npx skill4agent add sasjs/skills sasjs-core%macro x();%macro x;%my_macro()%my_macro();%local/**
@file
@brief One-line description of the macro
<h4> SAS Macros </h4>
@li mf_othermacro.sas
@param [in] paramname Description
@param [out] outparam Description
<h4> Related Macros </h4>
@li mp_related.sas
@version 9.4
@author Your Name
**/| Folder | Prefix | Platform |
|---|---|---|
| | All platforms |
| | SAS 9 metadata |
| | SAS 9 metadata (OS command dependent) |
| | Viya |
| | SASjs server |
| | Runtime platform detection |
| — | PROC FCMP functions, LUA wrappers, DDL |
mf_mp_mp_abortmf_abortmf_existdsmf_existvarmf_existfilerefmf_getusermp_jsonout_weboutmp_ds2ddlmp_hashdatasetmeta/viya/server/%mp_abort%if/%elseiftrue=%mp_abort(iftrue= (&syscc ne 0)
,mac=&_program
,msg=%str(Something went wrong)
)%mp_abort%include_webout%mp_abort(mode=INCLUDE)work.mp_abort_errds%mp_abort(mode=INCLUDE)%include%mp_include()_SYSINCLUDEFILEDEVICEwork.mp_abort_errdssasjs lintpackage.jsonall.sasmc_*.saslua/sasjsbuild/