1
0
mirror of https://github.com/sasjs/core.git synced 2026-03-10 04:58:10 +00:00

feat: new mx_createjob macro and associated test

This commit is contained in:
allan
2026-02-09 00:51:30 +00:00
parent 641966eed8
commit c1f1fcdebf
6 changed files with 141 additions and 34 deletions

View File

@@ -0,0 +1,27 @@
/**
@file
@brief Testing mx_createjob.sas macro
Be sure to run <code>%let mcTestAppLoc=/Public/temp/macrocore;</code> when
running in Studio
<h4> SAS Macros </h4>
@li mx_createjob.sas
@li mp_assert.sas
**/
filename ft15f001 temp;
parmcards4;
data example1;
set sashelp.class;
run;
%put Job executed successfully;
;;;;
%mx_createjob(path=&mcTestAppLoc/jobs,name=testjob,replace=YES)
%mp_assert(
iftrue=(&syscc=0),
desc=No errors after job creation,
outds=work.test_results
)