If you want to read only 5 observations from a text file that has a header row you need to read 6 lines from the file.
So this code will read the first 10 variables from the first 5 observation of the CSV file. It will make them all character with a maximum length of 200 bytes so you can take a look at what they might contain.
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.