Numeric values have been converted to character values at the places given by: (Line)Column).
data step2(keep=AddType) ;
length AddType 8. ;
set step1 ;
AddType=input(MType, best.) ;
Within table step1 MType is defined as number 8. I can't see where there would be a conversion taking place. That entire column in this specific table is all 1's so I know it's numeric I don't see why SAS wants to convert it.
It would be best to share your expanded SAS log output (from the DATA step in question, with SAS line numbers for reference) as well as reviewing a CONTENTS listing to confirm what variable(s) are CHARACTER and/or NUMERIC.
986 data step2(keep=AddType) ;
987 length AddType 8. ;
988 set step1 ;
990 AddType=input(MType, best.) ;
991 run ;
NOTE: Numeric values have been converted to character values at the places given by: (Line)Column).
NOTE: There were 31 observations read from the data set WORK.STEP1.
NOTE: The data set WORK.STEP2 has 31 observations and 1 variables.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
Data Set Page Size 4096
Number of Data Set Pages 1
First Data Page 1
Max Obs per Page 501
Obs in First Data Page 31
Number of Data Set Repairs 0
File Name C:\SAS\step1.sas7bdat
Release Created 9.0101M3
Host Created XP_PRO
You are asking SAS to convert the variable MType using a numeric INFORMAT, so to do so it must first convert the input variable to a suitable type which is explained in the diagnostic message. You need not do any conversion, just an assignment statement since both variables are numeric.