diff --git a/all.sas b/all.sas index 35da719..3e61f7c 100644 --- a/all.sas +++ b/all.sas @@ -8656,7 +8656,7 @@ options )/*/STORE SOURCE*/; %local tempds colinfo fmtds i numcols stmt_obs; %let numcols=0; -%if maxobs ne MAX %then %let stmt_obs=%str(if _n_>&maxobs then stop;); +%if &maxobs ne MAX %then %let stmt_obs=%str(if _n_>&maxobs then stop;); %if &action=OPEN %then %do; options nobomfile; @@ -15072,7 +15072,7 @@ data _null_; put ')/*/STORE SOURCE*/; '; put '%local tempds colinfo fmtds i numcols stmt_obs; '; put '%let numcols=0; '; - put '%if maxobs ne MAX %then %let stmt_obs=%str(if _n_>&maxobs then stop;); '; + put '%if &maxobs ne MAX %then %let stmt_obs=%str(if _n_>&maxobs then stop;); '; put ' '; put '%if &action=OPEN %then %do; '; put ' options nobomfile; '; @@ -19873,7 +19873,7 @@ data _null_; put ')/*/STORE SOURCE*/; '; put '%local tempds colinfo fmtds i numcols stmt_obs; '; put '%let numcols=0; '; - put '%if maxobs ne MAX %then %let stmt_obs=%str(if _n_>&maxobs then stop;); '; + put '%if &maxobs ne MAX %then %let stmt_obs=%str(if _n_>&maxobs then stop;); '; put ' '; put '%if &action=OPEN %then %do; '; put ' options nobomfile; '; @@ -22251,7 +22251,7 @@ data _null_; put ')/*/STORE SOURCE*/; '; put '%local tempds colinfo fmtds i numcols stmt_obs; '; put '%let numcols=0; '; - put '%if maxobs ne MAX %then %let stmt_obs=%str(if _n_>&maxobs then stop;); '; + put '%if &maxobs ne MAX %then %let stmt_obs=%str(if _n_>&maxobs then stop;); '; put ' '; put '%if &action=OPEN %then %do; '; put ' options nobomfile; '; diff --git a/base/mp_jsonout.sas b/base/mp_jsonout.sas index 79690e8..1ef3b2f 100644 --- a/base/mp_jsonout.sas +++ b/base/mp_jsonout.sas @@ -79,7 +79,7 @@ )/*/STORE SOURCE*/; %local tempds colinfo fmtds i numcols stmt_obs; %let numcols=0; -%if maxobs ne MAX %then %let stmt_obs=%str(if _n_>&maxobs then stop;); +%if &maxobs ne MAX %then %let stmt_obs=%str(if _n_>&maxobs then stop;); %if &action=OPEN %then %do; options nobomfile; diff --git a/meta/mm_createwebservice.sas b/meta/mm_createwebservice.sas index ac30db8..f02cddc 100644 --- a/meta/mm_createwebservice.sas +++ b/meta/mm_createwebservice.sas @@ -102,7 +102,7 @@ data _null_; put ')/*/STORE SOURCE*/; '; put '%local tempds colinfo fmtds i numcols stmt_obs; '; put '%let numcols=0; '; - put '%if maxobs ne MAX %then %let stmt_obs=%str(if _n_>&maxobs then stop;); '; + put '%if &maxobs ne MAX %then %let stmt_obs=%str(if _n_>&maxobs then stop;); '; put ' '; put '%if &action=OPEN %then %do; '; put ' options nobomfile; '; diff --git a/server/ms_createwebservice.sas b/server/ms_createwebservice.sas index d98968e..70d584d 100644 --- a/server/ms_createwebservice.sas +++ b/server/ms_createwebservice.sas @@ -103,7 +103,7 @@ data _null_; put ')/*/STORE SOURCE*/; '; put '%local tempds colinfo fmtds i numcols stmt_obs; '; put '%let numcols=0; '; - put '%if maxobs ne MAX %then %let stmt_obs=%str(if _n_>&maxobs then stop;); '; + put '%if &maxobs ne MAX %then %let stmt_obs=%str(if _n_>&maxobs then stop;); '; put ' '; put '%if &action=OPEN %then %do; '; put ' options nobomfile; '; diff --git a/viya/mv_createwebservice.sas b/viya/mv_createwebservice.sas index c14ad83..c0d1fba 100644 --- a/viya/mv_createwebservice.sas +++ b/viya/mv_createwebservice.sas @@ -245,7 +245,7 @@ data _null_; put ')/*/STORE SOURCE*/; '; put '%local tempds colinfo fmtds i numcols stmt_obs; '; put '%let numcols=0; '; - put '%if maxobs ne MAX %then %let stmt_obs=%str(if _n_>&maxobs then stop;); '; + put '%if &maxobs ne MAX %then %let stmt_obs=%str(if _n_>&maxobs then stop;); '; put ' '; put '%if &action=OPEN %then %do; '; put ' options nobomfile; ';