Thank you for your code. My original file have more variables by lines and I have to deal with ' used by users in some fields but now I can load the file 😉 Here is the programm I use : data temp;
infile "/ECHANGE/PRQ/in/archive/CLI_20210501/202105010051DFD_MVTS_PATIENTS.NDW" dsd missover;
file "/ECHANGE/PRQ/in/archive/CLI_20210501/FD_MVTS_PATIENTS.NDW";
input ;
length temp $ 2000;
retain temp;
temp = cats(temp,_infile_);
temp = TRANWRD(temp,"'","¤");
nb_var = countw(temp,'\','mq');
if nb_var=42 then do;
temp = TRANWRD(temp,"¤","'");
put temp;
call missing(temp);
end;
run;
... View more