Hi:
There have been other forum postings on this topic -- a search should net you some results. In addition, the documentation on the INFILE/INPUT process (reading data) is quite good on this topic and has several examples.
cynthia
Catch up on SAS Innovate 2026
Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.