fix: new logic for -fc suffix. Closes #63
Build / Build-and-ng-test (pull_request) Failing after 52s Details

This commit is contained in:
Allan 2023-12-03 11:19:40 +00:00
parent 3a3e488b23
commit 5579db0eaf
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ data work.staging_ds;
/* force correct BUSKEY and DSN when loading format catalogs */
if LOADTYPE='FORMAT_CAT' then do;
BUSKEY='TYPE FMTNAME FMTROW';
if subpad(dsn,length(dsn)-3,3) ne '-FC' then dsn=cats(dsn,'-FC');
DSN=scan(dsn,1,'-')!!'-FC';
end;
run;