Compare commits

...

4 Commits

Author SHA1 Message Date
semantic-release-bot e63d304953 chore(release): 6.3.1 [skip ci]
## [6.3.1](https://git.datacontroller.io/dc/dc/compare/v6.3.0...v6.3.1) (2024-01-01)

### Bug Fixes

* enabling excel uploads to tables with retained keys, also adding more validation to MPE_TABLES updates ([3efccc4](3efccc4cf3))
2024-01-01 17:53:14 +00:00
allan 3cd90c2d47 Merge pull request 'fix: enabling excel uploads to tables with retained keys, also adding more validation to MPE_TABLES updates' (#67) from dcfixes into main
Release / Build-production-and-ng-test (push) Successful in 3m11s Details
Release / Build-and-test-development (push) Successful in 6m31s Details
Release / release (push) Successful in 5m16s Details
Reviewed-on: #67
2024-01-01 17:42:07 +00:00
allan ac59b77ad5 Merge branch 'main' into dcfixes
Build / Build-and-ng-test (pull_request) Successful in 46s Details
2023-12-12 08:30:25 +00:00
Allan 3efccc4cf3 fix: enabling excel uploads to tables with retained keys, also adding more validation to MPE_TABLES updates
Build / Build-and-ng-test (pull_request) Failing after 13s Details
2023-12-12 08:27:45 +00:00
4 changed files with 16 additions and 3 deletions

View File

@ -1,3 +1,10 @@
## [6.3.1](https://git.datacontroller.io/dc/dc/compare/v6.3.0...v6.3.1) (2024-01-01)
### Bug Fixes
* enabling excel uploads to tables with retained keys, also adding more validation to MPE_TABLES updates ([3efccc4](https://git.datacontroller.io/dc/dc/commit/3efccc4cf3752763d049836724f2491c287f65db))
# [6.3.0](https://git.datacontroller.io/dc/dc/compare/v6.2.8...v6.3.0) (2023-12-04)

View File

@ -1,6 +1,6 @@
{
"name": "dcfrontend",
"version": "6.3.0",
"version": "6.3.1",
"description": "Data Controller",
"devDependencies": {
"@saithodev/semantic-release-gitea": "^2.1.0",

View File

@ -146,7 +146,7 @@ select count(*) into: nobs from &syslast;
,msg=%str(Issue assigning library &orig_lib)
)
%global txfrom txto processed;
%global txfrom txto processed rk;
data _null_;
set &mpelib..MPE_TABLES;
@ -154,12 +154,13 @@ data _null_;
call symputx('txfrom',var_txfrom);
call symputx('txto',var_txto);
call symputx('processed',var_processed);
if not missing(RK_UNDERLYING) then call symputx('rk',buskey);
run;
%mp_lockfilecheck(libds=&orig_libds)
data compare;
set &libds(drop=&txfrom &txto &processed);
set &libds(drop=&txfrom &txto &processed &rk);
stop;
run;

View File

@ -34,6 +34,7 @@ data work.staging_ds;
var_processed=upcase(var_processed);
close_vars=upcase(close_vars);
audit_libds=upcase(audit_libds);
rk_underlying=upcase(rk_underlying);
/* check for valid loadtype */
if LOADTYPE not in ('UPDATE','TXTEMPORAL','FORMAT_CAT','BITEMPORAL','REPLACE')
@ -47,6 +48,10 @@ data work.staging_ds;
BUSKEY='TYPE FMTNAME FMTROW';
DSN=scan(dsn,1,'-')!!'-FC';
end;
/* convert tabs into spaces */
buskey=translate(buskey," ","09"x);
rk_underlying=translate(rk_underlying," ","09"x);
run;
%mp_abort(iftrue=(&errflag=1)