diff --git a/.sasjslint b/.sasjslint index 6f6b4ae2..bee0905c 100644 --- a/.sasjslint +++ b/.sasjslint @@ -1,13 +1,13 @@ { - "noTrailingSpaces": true, - "noEncodedPasswords": true, - "hasDoxygenHeader": true, - "hasMacroNameInMend": true, - "hasMacroParentheses": true, - "noNestedMacros": false, - "noSpacesInFileNames": true, - "maxLineLength": 300, - "lowerCaseFileNames": true, - "noTabIndentation": true, - "indentationMultiple": 2 -} \ No newline at end of file + "noTrailingSpaces": true, + "noEncodedPasswords": true, + "hasDoxygenHeader": true, + "hasMacroNameInMend": true, + "hasMacroParentheses": true, + "noNestedMacros": false, + "noSpacesInFileNames": true, + "maxLineLength": 300, + "lowerCaseFileNames": true, + "noTabs": true, + "indentationMultiple": 2 +} diff --git a/.vscode/settings.json b/.vscode/settings.json index 475724d9..a73b8138 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -6,5 +6,7 @@ "editor.rulers": [ 80 ], - "files.trimTrailingWhitespace": true + "files.trimTrailingWhitespace": true, + "sasjs-for-vscode.target": "docsonly", + "sasjs-for-vscode.isLocal": true } \ No newline at end of file diff --git a/base/mf_existfileref.sas b/base/mf_existfileref.sas index 0423696e..82ede652 100644 --- a/base/mf_existfileref.sas +++ b/base/mf_existfileref.sas @@ -30,4 +30,4 @@ 0 %end; -%mend mf_existfileref; \ No newline at end of file +%mend mf_existfileref; diff --git a/meta/mm_webout.sas b/meta/mm_webout.sas index 98877383..f41af4f7 100644 --- a/meta/mm_webout.sas +++ b/meta/mm_webout.sas @@ -150,7 +150,7 @@ put " ""&wt"" : {"; put '"nlobs":' nlobs; put ',"nvars":' nvars; - %mp_jsonout(OBJ,&wt,jref=_sjsref,dslabel=first10rows,showmeta=Y,maxobs=10 + %mp_jsonout(OBJ,&wt,jref=_sjsref,dslabel=first10rows,showmeta=Y ,maxobs=&workobs ) data _null_; file _sjsref mod encoding='utf-8'; diff --git a/sasjs/sasjsconfig.json b/sasjs/sasjsconfig.json index 07051764..69d1fcb4 100644 --- a/sasjs/sasjsconfig.json +++ b/sasjs/sasjsconfig.json @@ -85,7 +85,7 @@ { "name": "docsonly", "serverType": "SASJS", - "appLoc": "dummy", + "appLoc": "/dummy", "macroFolders": [ "meta", "metax", diff --git a/server/ms_webout.sas b/server/ms_webout.sas index be3f87d9..0a6e2538 100644 --- a/server/ms_webout.sas +++ b/server/ms_webout.sas @@ -141,7 +141,7 @@ put " ""&wt"" : {"; put '"nlobs":' nlobs; put ',"nvars":' nvars; - %mp_jsonout(OBJ,&wt,jref=&fref,dslabel=first10rows,showmeta=Y,maxobs=10 + %mp_jsonout(OBJ,&wt,jref=&fref,dslabel=first10rows,showmeta=Y ,maxobs=&workobs ) data _null_; file &fref mod encoding='utf-8' termstr=lf;