I am loading CSV external file into DI 3.4.
I am using delimiters Comma and TAB for my CSV file.
Here I am uploading file correct only one problem i am getting.
Last column I am getting the value "" in all rows for that column.
Can you please help me to resolve this problem.
Thank you.
And the problem is what exactly?
One issue that might be related is the difference in end-of-line characters between Windows and Unix files. On Windows end of line is normally CR and LF characters. On Unix it is just the LF character. So when Windows text files are moved as binary files to Unix the CR ends up being the last character of the line. I have seen a number of people consistently add an extra delimiter to the end of their CSV files so the extra CR ends up in its own column rather than messing up the real data in the last column.
And the problem is what exactly?
One issue that might be related is the difference in end-of-line characters between Windows and Unix files. On Windows end of line is normally CR and LF characters. On Unix it is just the LF character. So when Windows text files are moved as binary files to Unix the CR ends up being the last character of the line. I have seen a number of people consistently add an extra delimiter to the end of their CSV files so the extra CR ends up in its own column rather than messing up the real data in the last column.
Thank you very much for your help.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.
Find more tutorials on the SAS Users YouTube channel.