@sasjs/core 4.57.3 → 4.57.4

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/README.md CHANGED
@@ -147,16 +147,17 @@ filename mc url "https://raw.githubusercontent.com/sasjs/core/main/all.sas";
147
147
  - macro names must be lowercase
148
148
  - one macro per file
149
149
  - prefixes:
150
- - _mcf_ for macro compiled functions (proc fcmp)
151
- - _mddl_ for macros containing DDL (Data Definition Language)
152
- - _mf_ for macro functions (can be used in open code).
153
- - _ml_ for macros that are used to compile LUA modules
154
- - _mm_ for metadata macros (interface with the metadata server).
155
- - _mmx_ for macros that use metadata and are XCMD enabled (working on both windows and unix)
156
- - _mp_ for macro procedures (which generate sas code)
157
- - _ms_ for macro procedures that will only work with [@sasjs/server](https://github.com/sasjs/server)
158
- - _mv_ for macro procedures that will only work in Viya
159
- - _mx_ for macros that work on Viya, SAS 9 EBI and SASjs Server
150
+ - _mcf__: macro compiled functions (proc fcmp)
151
+ - _mddl__: macros containing DDL (Data Definition Language)
152
+ - _mf__: macro functions (can be used in open code).
153
+ - _mfv__: macro functions that work only in Viya
154
+ - _ml__: macros that are used to compile LUA modules
155
+ - _mm__: metadata macros (interface with the metadata server).
156
+ - _mmx__: macros that use metadata and are XCMD enabled (working on both windows and unix)
157
+ - _mp__: macro procedures (which generate sas code)
158
+ - _ms__: macro procedures that will only work with [@sasjs/server](https://github.com/sasjs/server)
159
+ - _mv__: macro procedures that will only work in Viya
160
+ - _mx__: macros that work on Viya, SAS 9 EBI and SASjs Server
160
161
  - follow verb-noun convention
161
162
  - unix style line endings (lf)
162
163
  - individual lines should be no more than 80 characters long
package/package.json CHANGED
@@ -32,5 +32,5 @@
32
32
  "lint": "npx @sasjs/cli lint",
33
33
  "prepare": "git rev-parse --git-dir && git config core.hooksPath ./.git-hooks || true"
34
34
  },
35
- "version": "4.57.3"
35
+ "version": "4.57.4"
36
36
  }
@@ -157,8 +157,10 @@ run;
157
157
  %end;
158
158
  "Accept"="*/*";
159
159
  run;
160
- %put &sysmacroname DELETE &base_uri&fileuri
161
- &=SYS_PROCHTTP_STATUS_CODE &=SYS_PROCHTTP_STATUS_PHRASE;
160
+ %put &sysmacroname DELETE &base_uri&fileuri;
161
+ %if &SYS_PROCHTTP_STATUS_CODE ne 204 %then %do;
162
+ %put &=SYS_PROCHTTP_STATUS_CODE &=SYS_PROCHTTP_STATUS_PHRASE;
163
+ %end;
162
164
  %end;
163
165
 
164
166
  %local url mimetype ext;
@@ -205,7 +207,7 @@ run;
205
207
  %local libref2;
206
208
  %let libref2=%mf_getuniquelibref();
207
209
  libname &libref2 JSON fileref=&fname1;
208
- %put Grabbing the follow on link ;
210
+ /* Grab the follow on link */
209
211
  data &outds;
210
212
  set &libref2..links end=last;
211
213
  if rel='createChild' then do;
@@ -214,9 +216,7 @@ data &outds;
214
216
  end;
215
217
  run;
216
218
 
217
- %put &sysmacroname: File &name successfully created:;%put;
218
- %put &base_uri%mfv_getpathuri(&path/&name);%put;
219
+ %put &sysmacroname: &name created at %mfv_getpathuri(&path/&name);%put;
219
220
  %put &base_uri/SASJobExecution?_file=&path/&name;%put;
220
- %put &sysmacroname:;
221
221
 
222
222
  %mend mv_createfile;
@@ -47,7 +47,7 @@
47
47
  %else %let dbg=*;
48
48
 
49
49
  %if %mfv_existfolder(&path)=1 %then %do;
50
- %put &sysmacroname: &path already exists;
50
+ %&dbg.put &sysmacroname: &path already exists;
51
51
  data &outds;
52
52
  self_uri="%mfv_getpathuri(&path)";
53
53
  output;