Here it is my data file. And I run the following code data work.final; infile temp1 missover; input date nasins $ @; count=0; do while (nasins ne ' '); count+1; output; input nasins $ @; end; run; proc print data=work.final; run; The log shows the following 870 data work.final; 871 infile temp1 missover; 872 input date nasins $ @; 873 count=0; 874 do while (nasins ne ' '); 875 count+1; 876 output; 877 input nasins $ @; 878 end; 879 run; ERROR: No logical assign for filename TEMP1. NOTE: The SAS System stopped processing this step because of errors. WARNING: The data set WORK.FINAL may be incomplete. When this step was stopped there were 0 observations and 3 variables. WARNING: Data set WORK.FINAL was not replaced because this step was stopped. NOTE: DATA statement used (Total process time): real time 0.00 seconds cpu time 0.00 seconds 880 proc print data=work.final; 881 run; NOTE: No observations in data set WORK.FINAL. NOTE: PROCEDURE PRINT used (Total process time): real time 0.00 seconds cpu time 0.00 seconds Can anyone provide some solutions? Thans!
... View more