mirror of
https://github.com/sasjs/adapter.git
synced 2025-12-11 09:24:35 +00:00
21 lines
441 B
SAS
21 lines
441 B
SAS
/**
|
|
@file
|
|
@brief Returns JSON in Array format
|
|
|
|
<h4> SAS Macros </h4>
|
|
**/
|
|
|
|
%webout(FETCH)
|
|
%webout(OPEN)
|
|
%macro x();
|
|
%if %symexist(sasjs_tables) %then
|
|
%do i=1 %to %sysfunc(countw(&sasjs_tables));
|
|
%let table=%scan(&sasjs_tables,&i);
|
|
%webout(ARR,&table,missing=STRING,showmeta=YES)
|
|
%end;
|
|
%else %do i=1 %to &_webin_file_count;
|
|
%webout(ARR,&&_webin_name&i,missing=STRING,showmeta=YES)
|
|
%end;
|
|
%mend x;
|
|
%x()
|
|
%webout(CLOSE) |