Hi
SAS nicely tells you that your new variable lengths are shorter than the ones in the source data set. So the warning as such is appropriate.
I wouldn't now how to suppress such a warning - but you could of course change the lengths in a post processing step, i.e.
data stdlabnames;
format _all_; informat _all_;
set rawdata.standard_lab_names (keep=standard_lab_type standard_lab_name lbtestid restype);
run;
proc sql;
alter table stdlabnames
modify
standard_lab_type char(25)
,standard_lab_name char(50)
,lbtestid char(30)
;
quit;
Another way would be to just rename the variables when you read them (a rename as part of the set statement) and then define the output vars the way you want them and assign the renamed vars to the output vars.
HTH
Patrick
Message was edited by: Patrick
Message was edited by: Patrick