Thank you for the reply Patrick. I believe the first line contains field of Fname and Lname; the second line contains field of Address (with street name and number) ; the third line contains field of city, state and zipcode. I wrote the code as such : data info; infile "/folders/myfolders/SAS Practice.txt"; input #1 Fname:$6. Lname :$6. #2 Address : $21. #3 City : $10. State :$2. Zipcode; run; But the result only showed number on the address , and incomplete city. Could you tell me where it went wrong? Thanks.
... View more