@sasjs/core 4.53.0 → 4.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env.server +2 -2
- package/base/mp_getcols.sas +3 -2
- package/base/mp_init.sas +1 -0
- package/meta/mm_getdetails.sas +8 -5
- package/package.json +1 -1
package/.env.server
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
CLIENT=longExpiringClient
|
|
2
|
-
ACCESS_TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.
|
|
3
|
-
REFRESH_TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.
|
|
2
|
+
ACCESS_TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbGllbnRJZCI6ImNsaWVudElEMSIsInVzZXJJZCI6MSwiaWF0IjoxNzQwNTk2OTAzLCJleHAiOjE3NDA2ODMzMDN9.krSCyJBDPqshLYTNBH2RVhp7gVTMYFB6TqBvlbSEEoQ
|
|
3
|
+
REFRESH_TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjbGllbnRJZCI6ImNsaWVudElEMSIsInVzZXJJZCI6MSwiaWF0IjoxNzQwNTk2OTAzLCJleHAiOjE3NDMxODg5MDN9.Yn998JPzCgQYrkhWM_70dldi3ZAnuI-E7wQ_gS5OJ60
|
package/base/mp_getcols.sas
CHANGED
|
@@ -53,10 +53,11 @@ data &outds(keep=name type length varnum format label ddtype fmtname);
|
|
|
53
53
|
else if formatd=0 then format=cats(fmtname,formatl,'.');
|
|
54
54
|
else format=cats(fmtname,formatl,'.',formatd);
|
|
55
55
|
type='N';
|
|
56
|
-
if format=:'DATETIME' or format=:'E8601DT'
|
|
56
|
+
if format=:'DATETIME' or format=:'E8601DT' or format=:'NLDATM'
|
|
57
|
+
then ddtype='DATETIME';
|
|
57
58
|
else if format=:'DATE' or format=:'DDMMYY' or format=:'MMDDYY'
|
|
58
59
|
or format=:'YYMMDD' or format=:'E8601DA' or format=:'B8601DA'
|
|
59
|
-
or format=:'MONYY'
|
|
60
|
+
or format=:'MONYY' or format=:'NLDATE'
|
|
60
61
|
then ddtype='DATE';
|
|
61
62
|
else if format=:'TIME' then ddtype='TIME';
|
|
62
63
|
else ddtype='NUMERIC';
|
package/base/mp_init.sas
CHANGED
|
@@ -70,6 +70,7 @@ options
|
|
|
70
70
|
%if "%substr(&sysver,1,1)" ne "4" and "%substr(&sysver,1,1)" ne "5" %then %do;
|
|
71
71
|
noautocorrect /* disallow misspelled procedure names */
|
|
72
72
|
dsoptions=note2err /* undocumented - convert bad NOTEs to ERRs */
|
|
73
|
+
/* turn off with dsoptions=nonote2err */
|
|
73
74
|
%end;
|
|
74
75
|
;
|
|
75
76
|
|
package/meta/mm_getdetails.sas
CHANGED
|
@@ -1,22 +1,25 @@
|
|
|
1
1
|
/**
|
|
2
2
|
@file mm_getdetails.sas
|
|
3
3
|
@brief extracts metadata attributes and associations for a particular uri
|
|
4
|
-
|
|
5
4
|
@param [in] uri the metadata object for which to return
|
|
6
5
|
attributes / associations
|
|
6
|
+
@param [in] sortoptions= Enables sorting of the output datasets, for example,
|
|
7
|
+
`SORTSEQ=LINGUISTIC`
|
|
7
8
|
@param [out] outattrs= (work.attributes)
|
|
8
9
|
The dataset to create that contains the list of attributes
|
|
9
10
|
@param [out] outassocs= (work.associations)
|
|
10
11
|
The dataset to contain the list of associations
|
|
11
12
|
|
|
12
|
-
|
|
13
|
-
@
|
|
13
|
+
<h4> Related Files </h4>
|
|
14
|
+
@li mm_getobjects.sas
|
|
15
|
+
@li mm_gettypes.sas
|
|
14
16
|
|
|
15
17
|
**/
|
|
16
18
|
|
|
17
19
|
%macro mm_getdetails(uri
|
|
18
20
|
,outattrs=work.attributes
|
|
19
21
|
,outassocs=work.associations
|
|
22
|
+
,sortoptions=
|
|
20
23
|
)/*/STORE SOURCE*/;
|
|
21
24
|
|
|
22
25
|
data &outassocs;
|
|
@@ -41,7 +44,7 @@ data &outassocs;
|
|
|
41
44
|
n1+1;
|
|
42
45
|
end;
|
|
43
46
|
run;
|
|
44
|
-
proc sort;
|
|
47
|
+
proc sort &sortoptions;
|
|
45
48
|
by assoc name;
|
|
46
49
|
run;
|
|
47
50
|
|
|
@@ -61,7 +64,7 @@ data &outattrs;
|
|
|
61
64
|
n1+1;
|
|
62
65
|
end;
|
|
63
66
|
run;
|
|
64
|
-
proc sort;
|
|
67
|
+
proc sort &sortoptions;
|
|
65
68
|
by type name;
|
|
66
69
|
run;
|
|
67
70
|
|
package/package.json
CHANGED