Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions all.sas
Original file line number Diff line number Diff line change
Expand Up @@ -3474,7 +3474,7 @@ run;
)/*/STORE SOURCE*/;

data ;
length test_description $256 test_result $4 test_comments $256;
length test_result $4 test_description $256 test_comments $256;
test_description=symget('desc');
test_comments="&sysmacroname: Test result of "!!symget('iftrue');
%if %eval(%unquote(&iftrue)) %then %do;
Expand Down Expand Up @@ -3602,7 +3602,7 @@ run;
%end;

data;
length test_description $256 test_result $4 test_comments $256;
length test_result $4 test_description $256 test_comments $256;
test_description=symget('desc');
if test_description='0'
then test_description="Testing &inds for existence of &test of: &cols";
Expand Down Expand Up @@ -3781,7 +3781,7 @@ run;
)

data;
length test_description $256 test_result $4 test_comments $256;
length test_result $4 test_description $256 test_comments $256;
test_description=symget('desc');
test_result='FAIL';
test_comments="&sysmacroname: &lib..&ds..&col has &result/&orig values "
Expand Down Expand Up @@ -3896,7 +3896,7 @@ run;
%end;

data &ds;
length test_description $256 test_result $4 test_comments $256;
length test_result $4 test_description $256 test_comments $256;
test_description=symget('desc');
test_result='FAIL';
test_comments="&sysmacroname: Dataset &inds has &nobs observations.";
Expand Down Expand Up @@ -4060,7 +4060,7 @@ run;


data ;
length test_description $256 test_result $4 test_comments $256;
length test_result $4 test_description $256 test_comments $256;
test_description=symget('desc');
test_comments=symget('test_comments');
test_result=symget('test_result');
Expand Down Expand Up @@ -10078,6 +10078,7 @@ filename &tempref clear;

%global
SASJS_PREFIX /* the ONLY hard-coded global macro variable in SASjs */
&prefix.PROCESSMODE &prefix._STPSRV_HEADER_LOC /* SASjs server specific vars*/
&prefix._FUNCTIONS /* used in mcf_init() to track core function compilation */
&prefix._INIT_NUM /* initialisation time as numeric */
&prefix._INIT_DTTM /* initialisation time in E8601DT26.6 format */
Expand Down Expand Up @@ -26427,7 +26428,8 @@ libname &libref1a JSON fileref=&fname1a;
%let found=0;
/* %put Getting object uri from &libref1a..items; */
data _null_;
length contenttype name $1000;
length contenttype name uri $1000;
call missing(of _all_);
set &libref1a..items;
if contenttype='jobDefinition' and upcase(name)="%upcase(&name)" then do;
call symputx('uri',cats("&base_uri",uri),'l');
Expand Down
2 changes: 1 addition & 1 deletion base/mp_assert.sas
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
)/*/STORE SOURCE*/;

data ;
length test_description $256 test_result $4 test_comments $256;
length test_result $4 test_description $256 test_comments $256;
test_description=symget('desc');
test_comments="&sysmacroname: Test result of "!!symget('iftrue');
%if %eval(%unquote(&iftrue)) %then %do;
Expand Down
2 changes: 1 addition & 1 deletion base/mp_assertcols.sas
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
%end;

data;
length test_description $256 test_result $4 test_comments $256;
length test_result $4 test_description $256 test_comments $256;
test_description=symget('desc');
if test_description='0'
then test_description="Testing &inds for existence of &test of: &cols";
Expand Down
2 changes: 1 addition & 1 deletion base/mp_assertcolvals.sas
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
)

data;
length test_description $256 test_result $4 test_comments $256;
length test_result $4 test_description $256 test_comments $256;
test_description=symget('desc');
test_result='FAIL';
test_comments="&sysmacroname: &lib..&ds..&col has &result/&orig values "
Expand Down
2 changes: 1 addition & 1 deletion base/mp_assertdsobs.sas
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
%end;

data &ds;
length test_description $256 test_result $4 test_comments $256;
length test_result $4 test_description $256 test_comments $256;
test_description=symget('desc');
test_result='FAIL';
test_comments="&sysmacroname: Dataset &inds has &nobs observations.";
Expand Down
2 changes: 1 addition & 1 deletion base/mp_assertscope.sas
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@


data ;
length test_description $256 test_result $4 test_comments $256;
length test_result $4 test_description $256 test_comments $256;
test_description=symget('desc');
test_comments=symget('test_comments');
test_result=symget('test_result');
Expand Down
1 change: 1 addition & 0 deletions base/mp_init.sas
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@

%global
SASJS_PREFIX /* the ONLY hard-coded global macro variable in SASjs */
&prefix.PROCESSMODE &prefix._STPSRV_HEADER_LOC /* SASjs server specific vars*/
&prefix._FUNCTIONS /* used in mcf_init() to track core function compilation */
&prefix._INIT_NUM /* initialisation time as numeric */
&prefix._INIT_DTTM /* initialisation time in E8601DT26.6 format */
Expand Down
2 changes: 1 addition & 1 deletion tests/base/mf_getvarlist.test.sas
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
%let test5=%mf_getvarlist(sashelp.class,typefilter=C);

data work.test_results;
length test_description $256 test_result $4 test_comments base result $256;
length test_result $4 test_description $256 test_comments base result $256;
test_description="Basic test";
base=symget('test1');
result='Name Sex Age Height Weight';
Expand Down
2 changes: 1 addition & 1 deletion tests/viyaonly/mv_createwebservice.test.sas
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ run;
)
%put TEST1: checking web service code;
data work.test_results;
length test_description $256 test_result $4 test_comments $256;
length test_result $4 test_description $256 test_comments $256;
if _n_=1 then call missing (of _all_);
infile compare end=eof;
input;
Expand Down
5 changes: 4 additions & 1 deletion tests/x-platform/mx_createjob.test.sas
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ parmcards4;
;;;;
%mp_assertscope(SNAPSHOT)
%mx_createjob(path=&mcTestAppLoc/jobs,name=testjob1,replace=YES)
%mp_assertscope(COMPARE)
%mp_assertscope(COMPARE,ignorelist=MC0_JADP1LEN MC0_JADP2LEN MC0_JADPNUM
MC0_JADVLEN MC2_JADP1LEN MC2_JADP2LEN MC2_JADPNUM MC2_JADVLEN MC4_JADP1LEN
MC4_JADP2LEN MC4_JADPNUM MC4_JADVLEN
)

%mp_assert(
iftrue=(&syscc=0),
Expand Down
2 changes: 1 addition & 1 deletion viya/mv_deletejes.sas
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ libname &libref1a JSON fileref=&fname1a;
%let found=0;
/* %put Getting object uri from &libref1a..items; */
data _null_;
length contenttype name $1000;
length contenttype name uri $1000;
call missing(of _all_);
set &libref1a..items;
if contenttype='jobDefinition' and upcase(name)="%upcase(&name)" then do;
Expand Down
Loading