Anonymous Says:
Also if you want to convert char to numeric in your SAS code and also get the absolute value, you can use ABS function in same block of sas code.
DATA FILEIN;
INFILE SAMPLE1;
INPUT @25 charval $CHAR 8.
numval = charval * 1;
numval = ABS(numval);
RUN;
|