1
0
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:
Henrik Forsell
2025-02-26 16:27:05 +01:00
parent f60b06844c
commit eff0f4eda3

View File

@@ -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;