1
0
mirror of https://github.com/sasjs/core.git synced 2025-12-10 22:14: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 %macro mm_getdetails(uri
,outattrs=work.attributes ,outattrs=work.attributes
,outassocs=work.associations ,outassocs=work.associations
,sortoptions=
)/*/STORE SOURCE*/; )/*/STORE SOURCE*/;
data &outassocs; data &outassocs;
@@ -41,7 +42,7 @@ data &outassocs;
n1+1; n1+1;
end; end;
run; run;
proc sort; proc sort &sortoptions;
by assoc name; by assoc name;
run; run;
@@ -61,7 +62,7 @@ data &outattrs;
n1+1; n1+1;
end; end;
run; run;
proc sort; proc sort &sortoptions;
by type name; by type name;
run; run;