@sasjs/core 4.38.0 → 4.39.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/base/mp_dictionary.sas +2 -0
- package/package.json +1 -1
- package/viya/mv_createfile.sas +6 -2
package/base/mp_dictionary.sas
CHANGED
|
@@ -27,6 +27,8 @@
|
|
|
27
27
|
If you'd just like to browse the dictionary data model, you can also check
|
|
28
28
|
out [this article](https://rawsas.com/dictionary-of-dictionaries/).
|
|
29
29
|
|
|
30
|
+

|
|
31
|
+
|
|
30
32
|
@param lib= (WORK) The libref in which to create the views
|
|
31
33
|
|
|
32
34
|
<h4> Related Files </h4>
|
package/package.json
CHANGED
package/viya/mv_createfile.sas
CHANGED
|
@@ -24,7 +24,8 @@
|
|
|
24
24
|
@param [in] contentdisp= (inline) Content Disposition. Example values:
|
|
25
25
|
@li inline
|
|
26
26
|
@li attachment
|
|
27
|
-
|
|
27
|
+
@param [in] ctype= (0) Set a default HTTP Content-Type header to be returned
|
|
28
|
+
with the file when the content is retrieved from the Files service.
|
|
28
29
|
@param [in] access_token_var= The global macro variable to contain the access
|
|
29
30
|
token, if using authorization_code grant type.
|
|
30
31
|
@param [in] grant_type= (sas_services) Valid values are:
|
|
@@ -52,6 +53,7 @@
|
|
|
52
53
|
,inref=
|
|
53
54
|
,intype=BINARY
|
|
54
55
|
,contentdisp=inline
|
|
56
|
+
,ctype=0
|
|
55
57
|
,access_token_var=ACCESS_TOKEN
|
|
56
58
|
,grant_type=sas_services
|
|
57
59
|
,mdebug=0
|
|
@@ -103,8 +105,10 @@ filename &fref filesrvc
|
|
|
103
105
|
folderPath="&path"
|
|
104
106
|
filename="&name"
|
|
105
107
|
cdisp="&contentdisp"
|
|
108
|
+
%if "&ctype" ne "0" %then %do;
|
|
109
|
+
ctype="&ctype"
|
|
110
|
+
%end;
|
|
106
111
|
lrecl=1048544;
|
|
107
|
-
|
|
108
112
|
%if &intype=BINARY %then %do;
|
|
109
113
|
%mp_binarycopy(inref=&inref, outref=&fref)
|
|
110
114
|
%end;
|