mirror of
https://github.com/sasjs/core.git
synced 2026-01-03 23:50:06 +00:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f4a4263046 | ||
|
|
02bf9c85db | ||
|
|
5835cfaa83 | ||
|
|
b50521a8de | ||
|
|
fccd6fcc44 | ||
|
|
487ff5faa9 | ||
|
|
5efc20eacc |
2
.github/PULL_REQUEST_TEMPLATE.md
vendored
2
.github/PULL_REQUEST_TEMPLATE.md
vendored
@@ -15,4 +15,4 @@ What code changes have been made to achieve the intent.
|
|||||||
- [ ] Code is formatted correctly (`sasjs lint`).
|
- [ ] Code is formatted correctly (`sasjs lint`).
|
||||||
- [ ] Any new functionality has been unit tested.
|
- [ ] Any new functionality has been unit tested.
|
||||||
- [ ] All unit tests are passing (`sasjs test`).
|
- [ ] All unit tests are passing (`sasjs test`).
|
||||||
- [ ] `all.sas` has been regenerated (`python3 build.py`)
|
- [ ] The PR desc or underlying commits follow the [Conventional Commit](https://www.conventionalcommits.org) standard
|
||||||
|
|||||||
39
all.sas
39
all.sas
@@ -10184,6 +10184,7 @@ select distinct lowcase(memname)
|
|||||||
@li mp_aligndecimal.sas
|
@li mp_aligndecimal.sas
|
||||||
@li mp_cntlout.sas
|
@li mp_cntlout.sas
|
||||||
@li mp_lockanytable.sas
|
@li mp_lockanytable.sas
|
||||||
|
@li mp_md5.sas
|
||||||
@li mp_storediffs.sas
|
@li mp_storediffs.sas
|
||||||
|
|
||||||
<h4> Related Macros </h4>
|
<h4> Related Macros </h4>
|
||||||
@@ -14176,6 +14177,22 @@ ods package close;
|
|||||||
(given various practical restrictions) are described here to enable
|
(given various practical restrictions) are described here to enable
|
||||||
consistency when dealing with format data.
|
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;
|
proc sql;
|
||||||
create table &libds(
|
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'
|
,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'
|
,START char(32767) label='Starting value for format'
|
||||||
/*
|
/*
|
||||||
Keep lengths of START and END the same to avoid this err:
|
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?'
|
,NOEDIT num length=3 label='Is picture string noedit?'
|
||||||
,SEXCL char(1) label='Start exclusion'
|
,SEXCL char(1) label='Start exclusion'
|
||||||
,EEXCL char(1) label='End exclusion'
|
,EEXCL char(1) label='End exclusion'
|
||||||
,HLO char(13) label='Additional information.
|
,HLO char(13) label=
|
||||||
F=Standard format/informat.
|
'More info: https://core.sasjs.io/mddl__sas__cntlout_8sas_source.html'
|
||||||
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.'
|
|
||||||
,DECSEP char(1) label='Decimal separator'
|
,DECSEP char(1) label='Decimal separator'
|
||||||
,DIG3SEP char(1) label='Three-digit separator'
|
,DIG3SEP char(1) label='Three-digit separator'
|
||||||
,DATATYPE char(8) label='Date/time/datetime?'
|
,DATATYPE char(8) label='Date/time/datetime?'
|
||||||
@@ -14550,7 +14559,7 @@ run;
|
|||||||
%end;
|
%end;
|
||||||
%end;
|
%end;
|
||||||
%else %if &engine=ODBC %then %do;
|
%else %if &engine=ODBC %then %do;
|
||||||
&mD.%put NOTE: Retrieving ODBC connection details;
|
%&mD.put NOTE: Retrieving ODBC connection details;
|
||||||
data _null_;
|
data _null_;
|
||||||
length connx_uri conprop_uri value datasource up_uri schema domprop_uri authdomain $256.;
|
length connx_uri conprop_uri value datasource up_uri schema domprop_uri authdomain $256.;
|
||||||
call missing (of _all_);
|
call missing (of _all_);
|
||||||
|
|||||||
@@ -40,6 +40,7 @@
|
|||||||
@li mp_aligndecimal.sas
|
@li mp_aligndecimal.sas
|
||||||
@li mp_cntlout.sas
|
@li mp_cntlout.sas
|
||||||
@li mp_lockanytable.sas
|
@li mp_lockanytable.sas
|
||||||
|
@li mp_md5.sas
|
||||||
@li mp_storediffs.sas
|
@li mp_storediffs.sas
|
||||||
|
|
||||||
<h4> Related Macros </h4>
|
<h4> Related Macros </h4>
|
||||||
|
|||||||
@@ -6,6 +6,22 @@
|
|||||||
(given various practical restrictions) are described here to enable
|
(given various practical restrictions) are described here to enable
|
||||||
consistency when dealing with format data.
|
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;
|
proc sql;
|
||||||
create table &libds(
|
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'
|
,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'
|
,START char(32767) label='Starting value for format'
|
||||||
/*
|
/*
|
||||||
Keep lengths of START and END the same to avoid this err:
|
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?'
|
,NOEDIT num length=3 label='Is picture string noedit?'
|
||||||
,SEXCL char(1) label='Start exclusion'
|
,SEXCL char(1) label='Start exclusion'
|
||||||
,EEXCL char(1) label='End exclusion'
|
,EEXCL char(1) label='End exclusion'
|
||||||
,HLO char(13) label='Additional information.
|
,HLO char(13) label=
|
||||||
F=Standard format/informat.
|
'More info: https://core.sasjs.io/mddl__sas__cntlout_8sas_source.html'
|
||||||
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.'
|
|
||||||
,DECSEP char(1) label='Decimal separator'
|
,DECSEP char(1) label='Decimal separator'
|
||||||
,DIG3SEP char(1) label='Three-digit separator'
|
,DIG3SEP char(1) label='Three-digit separator'
|
||||||
,DATATYPE char(8) label='Date/time/datetime?'
|
,DATATYPE char(8) label='Date/time/datetime?'
|
||||||
|
|||||||
@@ -210,7 +210,7 @@ run;
|
|||||||
%end;
|
%end;
|
||||||
%end;
|
%end;
|
||||||
%else %if &engine=ODBC %then %do;
|
%else %if &engine=ODBC %then %do;
|
||||||
&mD.%put NOTE: Retrieving ODBC connection details;
|
%&mD.put NOTE: Retrieving ODBC connection details;
|
||||||
data _null_;
|
data _null_;
|
||||||
length connx_uri conprop_uri value datasource up_uri schema domprop_uri authdomain $256.;
|
length connx_uri conprop_uri value datasource up_uri schema domprop_uri authdomain $256.;
|
||||||
call missing (of _all_);
|
call missing (of _all_);
|
||||||
|
|||||||
Reference in New Issue
Block a user