mirror of
https://github.com/sasjs/core.git
synced 2026-03-09 20:48:10 +00:00
feat: new mx_createjob macro and associated test
This commit is contained in:
27
tests/x-platform/mx_createjob.test.sas
Normal file
27
tests/x-platform/mx_createjob.test.sas
Normal 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
|
||||
)
|
||||
Reference in New Issue
Block a user