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.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.