When reading in this csv I just want the data as I am making my own variable names, therefore I do not want the first line of the output. I am unable to alter the data so is there away to delete or not read in this first row? The picture was too large to upload but it basically shows a line with titles and then data following.
thanks!
Use the firstobs=2 option in the infile statement to make SAS start reading in line 2 of the csv.
Use the firstobs=2 option in the infile statement to make SAS start reading in line 2 of the csv.
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.
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.