Did you read the error message that you posted? ERROR: No logical assign for filename TEMP1. That means that there is no FILENAME statement defining what actual file TEMP1 is supposed to reference. You can use either a libref or a quoted physical filename on the INFILE statement.
... View more