From b50521a8de69d078d531f89415cac7bbe56b3f32 Mon Sep 17 00:00:00 2001 From: Allan Date: Wed, 8 Nov 2023 21:10:32 +0000 Subject: [PATCH 1/3] fix: adding missing mp_md5 dependency. Closes #363 --- base/mp_loadformat.sas | 1 + 1 file changed, 1 insertion(+) diff --git a/base/mp_loadformat.sas b/base/mp_loadformat.sas index aa66b839..4f51f702 100644 --- a/base/mp_loadformat.sas +++ b/base/mp_loadformat.sas @@ -40,6 +40,7 @@ @li mp_aligndecimal.sas @li mp_cntlout.sas @li mp_lockanytable.sas + @li mp_md5.sas @li mp_storediffs.sas

Related Macros

From 5835cfaa83f152c655e7498808176511028d1485 Mon Sep 17 00:00:00 2001 From: Allan Date: Wed, 8 Nov 2023 21:28:17 +0000 Subject: [PATCH 2/3] fix: HLO variable label updates, closes #364 Removed line breaks and reduced label length by moving the information to the core doc site and providing a link instead --- ddl/mddl_sas_cntlout.sas | 36 ++++++++++++++++++++++-------------- 1 file changed, 22 insertions(+), 14 deletions(-) diff --git a/ddl/mddl_sas_cntlout.sas b/ddl/mddl_sas_cntlout.sas index d821acf3..259dce06 100644 --- a/ddl/mddl_sas_cntlout.sas +++ b/ddl/mddl_sas_cntlout.sas @@ -6,6 +6,22 @@ (given various practical restrictions) are described here to enable consistency when dealing with format data. + The HLO variable may have a number of values, documented here due to the + 256 char label description length limit: + + F=Standard format/informat. + H=Range ending value is HIGH. + I=Numeric informat. + J=Justification for an informat. + L=Range starting value is LOW. + M=MultiLabel. + N=Format or informat has no ranges, including no OTHER= range. + O=Range is OTHER. + R=ROUND option is in effect. + S=Specifies that NOTSORTED is in effect. + U=Specifies that the UPCASE option for an informat be used. + + **/ @@ -13,9 +29,11 @@ proc sql; create table &libds( - TYPE char(1) label='Type of format - either N (num fmt), C (char fmt), I (num infmt) or J (char infmt)' + TYPE char(1) label= +'Format Type: either N (num fmt), C (char fmt), I (num infmt) or J (char infmt)' ,FMTNAME char(32) label='Format name' - ,FMTROW num label='CALCULATED Position of record by FMTNAME (reqd for multilabel formats)' + ,FMTROW num label= +'CALCULATED Position of record by FMTNAME (reqd for multilabel formats)' ,START char(32767) label='Starting value for format' /* Keep lengths of START and END the same to avoid this err: @@ -35,18 +53,8 @@ ,NOEDIT num length=3 label='Is picture string noedit?' ,SEXCL char(1) label='Start exclusion' ,EEXCL char(1) label='End exclusion' - ,HLO char(13) label='Additional information. -F=Standard format/informat. -H=Range ending value is HIGH. -I=Numeric informat. -J=Justification for an informat. -L=Range starting value is LOW. -M=MultiLabel. -N=Format or informat has no ranges, including no OTHER= range. -O=Range is OTHER. -R=ROUND option is in effect. -S=Specifies that NOTSORTED is in effect. -U=Specifies that the UPCASE option for an informat be used.' + ,HLO char(13) label= +'More info: https://core.sasjs.io/mddl__sas__cntlout_8sas_source.html' ,DECSEP char(1) label='Decimal separator' ,DIG3SEP char(1) label='Three-digit separator' ,DATATYPE char(8) label='Date/time/datetime?' From 02bf9c85db89afe7c6dcfbffbc0d7239fd0af93c Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 8 Nov 2023 21:30:00 +0000 Subject: [PATCH 3/3] chore: updating all.sas --- all.sas | 37 +++++++++++++++++++++++-------------- 1 file changed, 23 insertions(+), 14 deletions(-) diff --git a/all.sas b/all.sas index 17cdf736..f36e771d 100644 --- a/all.sas +++ b/all.sas @@ -10184,6 +10184,7 @@ select distinct lowcase(memname) @li mp_aligndecimal.sas @li mp_cntlout.sas @li mp_lockanytable.sas + @li mp_md5.sas @li mp_storediffs.sas

Related Macros

@@ -14176,6 +14177,22 @@ ods package close; (given various practical restrictions) are described here to enable consistency when dealing with format data. + The HLO variable may have a number of values, documented here due to the + 256 char label description length limit: + + F=Standard format/informat. + H=Range ending value is HIGH. + I=Numeric informat. + J=Justification for an informat. + L=Range starting value is LOW. + M=MultiLabel. + N=Format or informat has no ranges, including no OTHER= range. + O=Range is OTHER. + R=ROUND option is in effect. + S=Specifies that NOTSORTED is in effect. + U=Specifies that the UPCASE option for an informat be used. + + **/ @@ -14183,9 +14200,11 @@ ods package close; proc sql; create table &libds( - TYPE char(1) label='Type of format - either N (num fmt), C (char fmt), I (num infmt) or J (char infmt)' + TYPE char(1) label= +'Format Type: either N (num fmt), C (char fmt), I (num infmt) or J (char infmt)' ,FMTNAME char(32) label='Format name' - ,FMTROW num label='CALCULATED Position of record by FMTNAME (reqd for multilabel formats)' + ,FMTROW num label= +'CALCULATED Position of record by FMTNAME (reqd for multilabel formats)' ,START char(32767) label='Starting value for format' /* Keep lengths of START and END the same to avoid this err: @@ -14205,18 +14224,8 @@ ods package close; ,NOEDIT num length=3 label='Is picture string noedit?' ,SEXCL char(1) label='Start exclusion' ,EEXCL char(1) label='End exclusion' - ,HLO char(13) label='Additional information. -F=Standard format/informat. -H=Range ending value is HIGH. -I=Numeric informat. -J=Justification for an informat. -L=Range starting value is LOW. -M=MultiLabel. -N=Format or informat has no ranges, including no OTHER= range. -O=Range is OTHER. -R=ROUND option is in effect. -S=Specifies that NOTSORTED is in effect. -U=Specifies that the UPCASE option for an informat be used.' + ,HLO char(13) label= +'More info: https://core.sasjs.io/mddl__sas__cntlout_8sas_source.html' ,DECSEP char(1) label='Decimal separator' ,DIG3SEP char(1) label='Three-digit separator' ,DATATYPE char(8) label='Date/time/datetime?'