It looks like it is using pipe character, | , as the delimiter between the fields. So you could easily read that using a data step. Ok, so I have modified my code to the following: LIBNAME MyDir '/target/directory/';
filename newFile '/reference/directory/ReferenceTable.fyXX.txt';
data TestFile;
infile newFile dlm='|' missover
recfm=f lrecl=300 obs = 5;
input
@1 Field1 $char4. @2 Field2 $char30. etc...; following my filename statement, I get ERROR: Invalid logical name. ERROR: Error in the FILENAME statement. At the end of my code, I get the error: ERROR: Physical file does not exist, /target/directory/newFile. Am I close?
... View more