Hello, I am writing an infile data step that that reads .ascii and .txt files with repeating lines of code for records. However our population sample data files come with 20 character long header string specifying when and where it came from. How do I instruct SAS to begin writing the input statement after skipping the first 20 characters ONLY ONCE? Sample Code: data LIBNAME.POPULATION_INFILE; infile FILELOC1; input @1 "SAMPLE-YEAR-MONTH"n 6. @7 "SAMPLE-SOURCE"n 1. @8 "COUNTY-CODE"n $2. @10 "COUNTY-DISTRICT-NBR"n $3. @13 "CITY NAME"n $40.; run;
... View more