//
Why you want to do manually , I think it must be some dynamic way.
Can I get sample data which I can import in my SAS ?
I don't know how to fix it simply.
you can import your excel file by using PROC IMPORT procedure.
just need to update filepath in %let path statement.
%let path=filepath;
proc import datafile="&path.\data.xlsx"
out=want dbms=excel replace;
run;
CSV stands for Comma Separated Vector.
It can be imported by SAS using either CSV engine or by DLM=",".
See proc import documentation:
http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a000332605.htm
If you need help for reading a csv file, you should post that.
Use the dsd option in the infile statement to correctly read empty (missing) columns.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.