mirror of
https://github.com/sasjs/core.git
synced 2025-12-11 06:24:35 +00:00
fix: removed invisible hexchars on blank lines
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
/**
|
||||
|
||||
@file
|
||||
@brief Testing mv_jobflow macro
|
||||
@details One of the remote jobs aborts with syscc>0 - test to
|
||||
@@ -8,12 +9,13 @@
|
||||
@li mp_assert.sas
|
||||
@li mv_createjob.sas
|
||||
@li mv_jobflow.sas
|
||||
|
||||
**/
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Test Case 1
|
||||
*/
|
||||
|
||||
filename testprog temp;
|
||||
data _null_;
|
||||
file testprog;
|
||||
@@ -30,10 +32,10 @@ data _null_;
|
||||
/ 'run;'
|
||||
;
|
||||
run;
|
||||
|
||||
|
||||
%mv_createjob(path=/Public/temp,name=demo1,code=testprog)
|
||||
%mv_createjob(path=/Public/temp,name=demo2,code=testprog)
|
||||
|
||||
|
||||
data work.inputjobs;
|
||||
_contextName='SAS Job Execution compute context';
|
||||
do flow_id=1 to 2;
|
||||
@@ -50,11 +52,11 @@ data work.inputjobs;
|
||||
end;
|
||||
end;
|
||||
run;
|
||||
|
||||
|
||||
* Trigger the flow ;
|
||||
|
||||
|
||||
%put NOTE: &=syscc;
|
||||
|
||||
|
||||
%mv_jobflow(inds=work.inputjobs
|
||||
,maxconcurrency=2
|
||||
,outds=work.results
|
||||
@@ -62,14 +64,14 @@ run;
|
||||
,raise_err=1
|
||||
,mdebug=1
|
||||
)
|
||||
|
||||
|
||||
%put NOTE: &=syscc;
|
||||
|
||||
|
||||
data _null_;
|
||||
infile myjoblog;
|
||||
input; put _infile_;
|
||||
run;
|
||||
|
||||
|
||||
%mp_assert(
|
||||
iftrue=(&syscc ne 0),
|
||||
desc=Check that non zero return code is returned if called job fails
|
||||
@@ -9,8 +9,7 @@
|
||||
@li mv_createjob.sas
|
||||
@li mv_jobflow.sas
|
||||
**/
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Test Case 1
|
||||
*/
|
||||
@@ -29,10 +28,10 @@ data _null_;
|
||||
/ 'run;'
|
||||
;
|
||||
run;
|
||||
|
||||
|
||||
%mv_createjob(path=/Public/temp,name=demo1,code=testprog)
|
||||
%mv_createjob(path=/Public/temp,name=demo2,code=testprog)
|
||||
|
||||
|
||||
data work.inputjobs;
|
||||
_contextName='SAS Job Execution compute context';
|
||||
do flow_id=1 to 2;
|
||||
@@ -49,11 +48,11 @@ data work.inputjobs;
|
||||
end;
|
||||
end;
|
||||
run;
|
||||
|
||||
|
||||
* Trigger the flow ;
|
||||
|
||||
|
||||
%put NOTE: &=syscc;
|
||||
|
||||
|
||||
%mv_jobflow(inds=work.inputjobs
|
||||
,maxconcurrency=2
|
||||
,outds=work.results
|
||||
@@ -61,14 +60,14 @@ run;
|
||||
,raise_err=1
|
||||
,mdebug=1
|
||||
)
|
||||
|
||||
|
||||
%put NOTE: &=syscc;
|
||||
|
||||
|
||||
data _null_;
|
||||
infile myjoblog;
|
||||
input; put _infile_;
|
||||
run;
|
||||
|
||||
|
||||
%mp_assert(
|
||||
iftrue=(&syscc eq 0),
|
||||
desc=Check that a zero return code is returned if no called job fails
|
||||
Reference in New Issue
Block a user