mirror of
https://github.com/sasjs/core.git
synced 2025-12-11 06:24:35 +00:00
feat: Add optional sort option
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
%macro mm_getdetails(uri
|
||||
,outattrs=work.attributes
|
||||
,outassocs=work.associations
|
||||
,sortoptions=
|
||||
)/*/STORE SOURCE*/;
|
||||
|
||||
data &outassocs;
|
||||
@@ -41,7 +42,7 @@ data &outassocs;
|
||||
n1+1;
|
||||
end;
|
||||
run;
|
||||
proc sort;
|
||||
proc sort &sortoptions;
|
||||
by assoc name;
|
||||
run;
|
||||
|
||||
@@ -61,7 +62,7 @@ data &outattrs;
|
||||
n1+1;
|
||||
end;
|
||||
run;
|
||||
proc sort;
|
||||
proc sort &sortoptions;
|
||||
by type name;
|
||||
run;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user