Hi:
I agree with Scott. Something strange is happening. As you can see from my log, below, when I create TABLE0 with a character ID variable and then create TABLE1 using the rename/INPUT technique, I do not get the same error messages, so somehow, something is "off".
[pre]
92 data table0;
93 id = '12345678901';
94 numvar = 1234;
95 run;
NOTE: The data set WORK.TABLE0 has 1 observations and 2 variables.
NOTE: DATA statement used (Total process time):
real time 0.01 seconds
cpu time 0.01 seconds
96
97
98
99 data table1(drop=charId);
100 set table0(rename=(id=charId));
101 id=input(charId,11.);
102 put _all_;
103 run;
charId=12345678901 numvar=1234 id=12345678901 _ERROR_=0 _N_=1
NOTE: There were 1 observations read from the data set WORK.TABLE0.
NOTE: The data set WORK.TABLE1 has 1 observations and 2 variables.
NOTE: DATA statement used (Total process time):
real time 0.04 seconds
cpu time 0.01 seconds
[/pre]
In additions to Scott's suggestion, I'd recommend going back a bit farther to where TABLE0 is created and do a PROC CONTENTS on TABLE0 to make sure that all the variables in the dataset are in the form that you expect them to be.
cynthia