Rung 6 of the #376 ratchet: `"lineEndings": "lf"` is enabled and promoted to "error". Its 37 findings are cleared and nothing but line endings changed. - 34 files ended without a newline; each now ends with exactly one LF. - 3 files were stored with CRLF (services/public/getgroups.sas and the two sas9 lineage services, getmetacols and getmetatables), against the repo's own `* text=auto eol=lf` in .gitattributes. They are converted to LF. Checked mechanically that this is whitespace only: for every changed file, HEAD's content and the new content are identical once CRLF is folded to LF and the trailing newline is stripped. VERIFICATION - `npm run lint:sas`: 0 warnings, 0 errors, exit 0. - `sasjs compile`: succeeds. - On sas.4gl.io, against a scratch appLoc seeded with makedata: "Tests that pass: 64/64 (100%)".
25 lines
498 B
SAS
25 lines
498 B
SAS
/**
|
|
@file
|
|
@brief migration script to move from v6.5 to 6.8.2 of data controller
|
|
|
|
**/
|
|
|
|
%let dclib=YOURDCLIB;
|
|
|
|
libname &dclib "/your/dc/path";
|
|
|
|
/**
|
|
* Change 1
|
|
* New MPE_SUBMIT table
|
|
*/
|
|
proc sql;
|
|
insert into &dclib..mpe_config set
|
|
tx_from=0
|
|
,tx_to='31DEC9999:23:59:59'dt
|
|
,var_scope="DC"
|
|
,var_name="DC_REQUEST_LOGS"
|
|
,var_value="YES"
|
|
,var_active=1
|
|
,var_desc='Setting to NO will prevent each request being logged to the'
|
|
!!' MPE_REQUESTS table Default=YES.';
|