Hello,
I would like to make the change in the code shown below. ' uairway ' and ' ulungoth ' are numeric; while ' uairwayothsp ', ' Ulungothsp ', and ' record_updated ' are the character.
data want (keep=ulungoth Ulungothsp record_updated uairway uairwayothsp);
set have;
if caseid in ('EUJK009') then Ulungothsp='CHRONIC RESPIRATORY FAILURE, BIPAP DEPENDENT' and ulungoth=1
and record_updated='Yes' and uairway=0 and uairwayothsp=' ';
if caseid in ('EUJK009');
run;
The log window showed the massage below:
NOTE: Character values have been converted to numeric values at the places given by: (Line):(Column). 236:48 NOTE: Numeric values have been converted to character values at the places given by: (Line):(Column). 237:76 NOTE: Invalid numeric data, 'CHRONIC RESPIRATORY FAILURE, BIPAP DEPENDENT' , at line 236 column 48.
Then, I didn't see any change in the result I want in the ( ulungoth Ulungothsp record_updated uairway uairwayothsp ) columns. Where did I do wrong and how to fix it? Thanks.
... View more