Hello,
I'm trying to convert a variable that has multiple toll free numbers to numeric. When I import the dataset from a .dbf it sets the column attribute to character.
I've tried using different variations of code but to no avail. I'm self taught in SAS so I'm not sure if I'm using the right code anyway.
The variable label is DIALED_800,
INFORMAT DIALED_800 COMMA10.;
FORMAT DIALED_800 COMMA10.;
dialed=input(dialed_800, comma10.)
Thanks,
Scott
I'm trying to convert a variable that has multiple toll free numbers to numeric. When I import the dataset from a .dbf it sets the column attribute to character.
I've tried using different variations of code but to no avail. I'm self taught in SAS so I'm not sure if I'm using the right code anyway.
The variable label is DIALED_800,
INFORMAT DIALED_800 COMMA10.;
FORMAT DIALED_800 COMMA10.;
dialed=input(dialed_800, comma10.)
Thanks,
Scott