I am having a libref with five datasets and each dataset with five

variables each and having only one observation.Out of five variables

one variable is numeric.

I want the data from all five datasets with a numeric variable.

How can I do this using datastep or a macro without knowing whether a

variable is numeric?

Thanks in advance.

Regards,

Sidhu

1. putting the values of 5 different numeric variables into one numeric variable

2. RECODE STRING VARIABLES INTO NUMERIC VARIABLES WITHOUT CREATING NEW VARIABLES

Hi Everyone!

I was wondering if it is possible to covert a string variable into a

numeric variable without creating a new variable.

I am dealing with a data set that has over 300 variables that are

coded as string variables that need to be converted into numeric

variables. Given that I am dealing with a large number of variables,

clicking on each of them is a very tedious option. At the same time,

using recode or compute command and creating a set of new variables

will change require writing out a name for each variable. I thought of

an option of dropping the original variables after that recoding and

then renaming recoded variables with names of the original variables,

but it still seems very time consuming, especially if I have to work

with the same problem over and over again.

Thanks,

Anastasia

3. RECODE STRING VARIABLES INTO NUMERIC VARIABLES WITHOUT CREATING NEW VARIABLES

4. converting string variable (time) into numeric variable

5. How to convert Display Variable to Numeric Signed Variable

6. Is it possible to update a dataset of numeric variables with values from macrovariables?

7. renaming string variables into numeric variables

8. How to combine 6 numeric variables into one new variable?

9. Is it possible to update a dataset of numeric variables with values from macrovariables?

10. Parse Numeric Variable into 2 New Variables

11. convert string variables into numeric variables

12. Concatenate string variables into value labels for a numeric variable

13. Find 2nd highest numeric variable and assign value to new variable (SPSS 16)

14. convert a numeric variable to a character variable

15. Creating a Dataset with 2 variables from a single variable

1 post • Page:**1** of **1**