1
0
mirror of https://github.com/sasjs/core.git synced 2026-01-14 20:10:05 +00:00

feat: enabling informats to be ingested with the mp_loadformat macro

This commit is contained in:
Allan
2023-06-20 00:21:19 +01:00
parent 146610b5a7
commit dcb7958950
4 changed files with 171 additions and 21 deletions

View File

@@ -28,6 +28,7 @@
<h4> Related Macros </h4>
@li mf_getvarformat.sas
@li mp_aligndecimal.sas
@li mp_getformats.sas
@li mp_loadformat.sas
@li mp_ds2fmtds.sas
@@ -69,13 +70,13 @@ run;
data &cntlout;
if 0 then set &ddlds;
set &cntlds;
if type="N" then do;
start=cats(start);
end=cats(end);
if type in ("I","N") then do; /* numeric (in)format */
%mp_aligndecimal(start,width=16)
%mp_aligndecimal(end,width=16)
end;
run;
proc sort;
by fmtname start;
by type fmtname start;
run;
proc sql;