Problem: Mismatch in field picked from file while reading in data. Code: FILENAME trans6'/folders/myfolders/transaction_date.txt'; data trans6; infile trans6; input @1 trans_date mmddyy10. @12 id $6. ; run; proc print data=work.trans6; run; Output: Log: 1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK; 55 56 FILENAME trans6'/folders/myfolders/transaction_date.txt'; 57 58 data trans6; 59 infile trans6; 60 input @1 trans_date mmddyy10. 61 @12 id $6. 62 ; 63 run; NOTE: The infile TRANS6 is: Filename=/folders/myfolders/transaction_date.txt, Owner Name=root,Group Name=vboxsf, Access Permission=-rwxrwx---, Last Modified=16Apr2017:14:32:11, File Size (bytes)=50 NOTE: 3 records were read from the infile TRANS6. The minimum record length was 12. The maximum record length was 17. NOTE: SAS went to a new line when INPUT statement reached past the end of a line. NOTE: The data set WORK.TRANS6 has 2 observations and 2 variables. NOTE: DATA statement used (Total process time): real time 0.01 seconds cpu time 0.01 seconds 64 65 proc print data=work.trans6; 66 run; NOTE: There were 2 observations read from the data set WORK.TRANS6. NOTE: PROCEDURE PRINT used (Total process time): real time 0.02 seconds cpu time 0.03 seconds 67 68 69 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK; 81
... View more