to me, it seems when you read raw data from txt file, the record hold in the input buffer _infile_ will be applied a trim function automatically when sas evaluate expression with colon like _infile_=: "abc". so the right side of the expression "abc" will be truncated to "ab" . Trim("_infile_")="ab" or "ab" ="ab" however if sas read data using cards statement, since input buffer _infile_ has a default length of 32367, so the left side of the expression will be truncated to 3. e.g. "ab (A lot of space until 32367 characters reached) "="abc". Become "ab "="abc"
... View more