mirror of
https://github.com/sasjs/core.git
synced 2026-01-18 05:50:06 +00:00
fix: avoiding type clash
This commit is contained in:
27
all.sas
27
all.sas
@@ -7528,11 +7528,12 @@ filename &tempref clear;
|
|||||||
|
|
||||||
%mp_jsonout(OPEN,jref=tmp)
|
%mp_jsonout(OPEN,jref=tmp)
|
||||||
%mp_jsonout(OBJ,class,jref=tmp)
|
%mp_jsonout(OBJ,class,jref=tmp)
|
||||||
|
%mp_jsonout(OBJ,class,dslabel=class2,jref=tmp,showmeta=YES)
|
||||||
%mp_jsonout(CLOSE,jref=tmp)
|
%mp_jsonout(CLOSE,jref=tmp)
|
||||||
|
|
||||||
data _null_;
|
data _null_;
|
||||||
infile tmp;
|
infile tmp;
|
||||||
input;list;
|
input;putlog _infile_;
|
||||||
run;
|
run;
|
||||||
|
|
||||||
If you are building web apps with SAS then you are strongly encouraged to use
|
If you are building web apps with SAS then you are strongly encouraged to use
|
||||||
@@ -7576,7 +7577,6 @@ filename &tempref clear;
|
|||||||
)/*/STORE SOURCE*/;
|
)/*/STORE SOURCE*/;
|
||||||
%local tempds colinfo fmtds i numcols;
|
%local tempds colinfo fmtds i numcols;
|
||||||
%let numcols=0;
|
%let numcols=0;
|
||||||
%let fmtds=_null_;
|
|
||||||
|
|
||||||
%if &action=OPEN %then %do;
|
%if &action=OPEN %then %do;
|
||||||
options nobomfile;
|
options nobomfile;
|
||||||
@@ -7694,7 +7694,12 @@ filename &tempref clear;
|
|||||||
format &&name&i $32767.;
|
format &&name&i $32767.;
|
||||||
%end;
|
%end;
|
||||||
%end;
|
%end;
|
||||||
set &fmtds &ds;
|
%if &fmt=Y %then %do;
|
||||||
|
set &fmtds;
|
||||||
|
%end;
|
||||||
|
%else %do;
|
||||||
|
set &ds;
|
||||||
|
%end;
|
||||||
format _numeric_ bart.;
|
format _numeric_ bart.;
|
||||||
%do i=1 %to &numcols;
|
%do i=1 %to &numcols;
|
||||||
%if &&typelong&i=char %then %do;
|
%if &&typelong&i=char %then %do;
|
||||||
@@ -12699,7 +12704,6 @@ data _null_;
|
|||||||
put ')/*/STORE SOURCE*/; ';
|
put ')/*/STORE SOURCE*/; ';
|
||||||
put '%local tempds colinfo fmtds i numcols; ';
|
put '%local tempds colinfo fmtds i numcols; ';
|
||||||
put '%let numcols=0; ';
|
put '%let numcols=0; ';
|
||||||
put '%let fmtds=_null_; ';
|
|
||||||
put ' ';
|
put ' ';
|
||||||
put '%if &action=OPEN %then %do; ';
|
put '%if &action=OPEN %then %do; ';
|
||||||
put ' options nobomfile; ';
|
put ' options nobomfile; ';
|
||||||
@@ -12817,7 +12821,12 @@ data _null_;
|
|||||||
put ' format &&name&i $32767.; ';
|
put ' format &&name&i $32767.; ';
|
||||||
put ' %end; ';
|
put ' %end; ';
|
||||||
put ' %end; ';
|
put ' %end; ';
|
||||||
put ' set &fmtds &ds; ';
|
put ' %if &fmt=Y %then %do; ';
|
||||||
|
put ' set &fmtds; ';
|
||||||
|
put ' %end; ';
|
||||||
|
put ' %else %do; ';
|
||||||
|
put ' set &ds; ';
|
||||||
|
put ' %end; ';
|
||||||
put ' format _numeric_ bart.; ';
|
put ' format _numeric_ bart.; ';
|
||||||
put ' %do i=1 %to &numcols; ';
|
put ' %do i=1 %to &numcols; ';
|
||||||
put ' %if &&typelong&i=char %then %do; ';
|
put ' %if &&typelong&i=char %then %do; ';
|
||||||
@@ -17823,7 +17832,6 @@ data _null_;
|
|||||||
put ')/*/STORE SOURCE*/; ';
|
put ')/*/STORE SOURCE*/; ';
|
||||||
put '%local tempds colinfo fmtds i numcols; ';
|
put '%local tempds colinfo fmtds i numcols; ';
|
||||||
put '%let numcols=0; ';
|
put '%let numcols=0; ';
|
||||||
put '%let fmtds=_null_; ';
|
|
||||||
put ' ';
|
put ' ';
|
||||||
put '%if &action=OPEN %then %do; ';
|
put '%if &action=OPEN %then %do; ';
|
||||||
put ' options nobomfile; ';
|
put ' options nobomfile; ';
|
||||||
@@ -17941,7 +17949,12 @@ data _null_;
|
|||||||
put ' format &&name&i $32767.; ';
|
put ' format &&name&i $32767.; ';
|
||||||
put ' %end; ';
|
put ' %end; ';
|
||||||
put ' %end; ';
|
put ' %end; ';
|
||||||
put ' set &fmtds &ds; ';
|
put ' %if &fmt=Y %then %do; ';
|
||||||
|
put ' set &fmtds; ';
|
||||||
|
put ' %end; ';
|
||||||
|
put ' %else %do; ';
|
||||||
|
put ' set &ds; ';
|
||||||
|
put ' %end; ';
|
||||||
put ' format _numeric_ bart.; ';
|
put ' format _numeric_ bart.; ';
|
||||||
put ' %do i=1 %to &numcols; ';
|
put ' %do i=1 %to &numcols; ';
|
||||||
put ' %if &&typelong&i=char %then %do; ';
|
put ' %if &&typelong&i=char %then %do; ';
|
||||||
|
|||||||
@@ -19,11 +19,12 @@
|
|||||||
|
|
||||||
%mp_jsonout(OPEN,jref=tmp)
|
%mp_jsonout(OPEN,jref=tmp)
|
||||||
%mp_jsonout(OBJ,class,jref=tmp)
|
%mp_jsonout(OBJ,class,jref=tmp)
|
||||||
|
%mp_jsonout(OBJ,class,dslabel=class2,jref=tmp,showmeta=YES)
|
||||||
%mp_jsonout(CLOSE,jref=tmp)
|
%mp_jsonout(CLOSE,jref=tmp)
|
||||||
|
|
||||||
data _null_;
|
data _null_;
|
||||||
infile tmp;
|
infile tmp;
|
||||||
input;list;
|
input;putlog _infile_;
|
||||||
run;
|
run;
|
||||||
|
|
||||||
If you are building web apps with SAS then you are strongly encouraged to use
|
If you are building web apps with SAS then you are strongly encouraged to use
|
||||||
@@ -67,7 +68,6 @@
|
|||||||
)/*/STORE SOURCE*/;
|
)/*/STORE SOURCE*/;
|
||||||
%local tempds colinfo fmtds i numcols;
|
%local tempds colinfo fmtds i numcols;
|
||||||
%let numcols=0;
|
%let numcols=0;
|
||||||
%let fmtds=_null_;
|
|
||||||
|
|
||||||
%if &action=OPEN %then %do;
|
%if &action=OPEN %then %do;
|
||||||
options nobomfile;
|
options nobomfile;
|
||||||
@@ -185,7 +185,12 @@
|
|||||||
format &&name&i $32767.;
|
format &&name&i $32767.;
|
||||||
%end;
|
%end;
|
||||||
%end;
|
%end;
|
||||||
set &fmtds &ds;
|
%if &fmt=Y %then %do;
|
||||||
|
set &fmtds;
|
||||||
|
%end;
|
||||||
|
%else %do;
|
||||||
|
set &ds;
|
||||||
|
%end;
|
||||||
format _numeric_ bart.;
|
format _numeric_ bart.;
|
||||||
%do i=1 %to &numcols;
|
%do i=1 %to &numcols;
|
||||||
%if &&typelong&i=char %then %do;
|
%if &&typelong&i=char %then %do;
|
||||||
|
|||||||
@@ -101,7 +101,6 @@ data _null_;
|
|||||||
put ')/*/STORE SOURCE*/; ';
|
put ')/*/STORE SOURCE*/; ';
|
||||||
put '%local tempds colinfo fmtds i numcols; ';
|
put '%local tempds colinfo fmtds i numcols; ';
|
||||||
put '%let numcols=0; ';
|
put '%let numcols=0; ';
|
||||||
put '%let fmtds=_null_; ';
|
|
||||||
put ' ';
|
put ' ';
|
||||||
put '%if &action=OPEN %then %do; ';
|
put '%if &action=OPEN %then %do; ';
|
||||||
put ' options nobomfile; ';
|
put ' options nobomfile; ';
|
||||||
@@ -219,7 +218,12 @@ data _null_;
|
|||||||
put ' format &&name&i $32767.; ';
|
put ' format &&name&i $32767.; ';
|
||||||
put ' %end; ';
|
put ' %end; ';
|
||||||
put ' %end; ';
|
put ' %end; ';
|
||||||
put ' set &fmtds &ds; ';
|
put ' %if &fmt=Y %then %do; ';
|
||||||
|
put ' set &fmtds; ';
|
||||||
|
put ' %end; ';
|
||||||
|
put ' %else %do; ';
|
||||||
|
put ' set &ds; ';
|
||||||
|
put ' %end; ';
|
||||||
put ' format _numeric_ bart.; ';
|
put ' format _numeric_ bart.; ';
|
||||||
put ' %do i=1 %to &numcols; ';
|
put ' %do i=1 %to &numcols; ';
|
||||||
put ' %if &&typelong&i=char %then %do; ';
|
put ' %if &&typelong&i=char %then %do; ';
|
||||||
|
|||||||
@@ -245,7 +245,6 @@ data _null_;
|
|||||||
put ')/*/STORE SOURCE*/; ';
|
put ')/*/STORE SOURCE*/; ';
|
||||||
put '%local tempds colinfo fmtds i numcols; ';
|
put '%local tempds colinfo fmtds i numcols; ';
|
||||||
put '%let numcols=0; ';
|
put '%let numcols=0; ';
|
||||||
put '%let fmtds=_null_; ';
|
|
||||||
put ' ';
|
put ' ';
|
||||||
put '%if &action=OPEN %then %do; ';
|
put '%if &action=OPEN %then %do; ';
|
||||||
put ' options nobomfile; ';
|
put ' options nobomfile; ';
|
||||||
@@ -363,7 +362,12 @@ data _null_;
|
|||||||
put ' format &&name&i $32767.; ';
|
put ' format &&name&i $32767.; ';
|
||||||
put ' %end; ';
|
put ' %end; ';
|
||||||
put ' %end; ';
|
put ' %end; ';
|
||||||
put ' set &fmtds &ds; ';
|
put ' %if &fmt=Y %then %do; ';
|
||||||
|
put ' set &fmtds; ';
|
||||||
|
put ' %end; ';
|
||||||
|
put ' %else %do; ';
|
||||||
|
put ' set &ds; ';
|
||||||
|
put ' %end; ';
|
||||||
put ' format _numeric_ bart.; ';
|
put ' format _numeric_ bart.; ';
|
||||||
put ' %do i=1 %to &numcols; ';
|
put ' %do i=1 %to &numcols; ';
|
||||||
put ' %if &&typelong&i=char %then %do; ';
|
put ' %if &&typelong&i=char %then %do; ';
|
||||||
|
|||||||
Reference in New Issue
Block a user