1
0
mirror of https://github.com/sasjs/core.git synced 2026-07-23 15:35:29 +00:00

fix: ensure leading blanks are always imported

This commit is contained in:
4gl
2026-07-22 16:29:18 +01:00
parent e104f0722d
commit e24ef4c6fc
7 changed files with 83 additions and 7 deletions
+4 -1
View File
@@ -74,7 +74,10 @@
data _null_;
infile &&_webin_fileref&i termstr=crlf lrecl=32767;
input;
call symputx('input_statement',_infile_);
/* a plain $ informat strips leading blanks - use $char instead */
call symputx('input_statement'
,prxchange('s/:\$(?=[0-9 ])/:\$char/i',-1,_infile_)
);
putlog "&&_webin_name&i input statement: " _infile_;
stop;
data &&_webin_name&i;