Hi Everyone, Been learning for about a week. So, i have a data set that follows the following pattern: rank (numeric), company ($), country ($), sales (num), profits (num), assets (num), market value (num) the data under the last 4 numeric variables are presented in billions of dollars, as "$1.5B" or "$200.1B", and vary in length Im using the following code: DATA bigcos; INFILE 'C:\Users\dlobsien\Documents\bigcompanies.txt'; INPUT ranking company_name $26. +1 country $18. sales_in_billions :dollar10. profits_in_billions :dollar10. assets_in_billions :dollar10. +1 profits_in_billions :dollar10.; title companies data; RUN; ——————————- PROC PRINT data=bigcos (obs=15); Run; the first three variables go in fine, but it wont read anything after that with the Bs in the way (i assume that's the issue). whenever i add a line that says "compress(var, 'B')", after the input lines it gives me 0 observations—maybe I'm entering the syntax wrong or putting it in the wrong spot. I've also included the data set in case that is useful. Any help would be greatly appreciated.
... View more