Need help with arrays and do loops with character and numeric variables
please provide guidance using sas 9.3
What does your data look like? What are you trying to do? What have you tried thus far?
It is a combination of character variable with numbers (if it is between 370000 and 390000 then it is X
If it is between 200000 - 30000 then it is Y.
I have tried ARRAY and the DO loop =
i have read through the documentation you all post here and on the sas site and cannot figure out what i am doing wrong;
We (everyone on the forum) will need a sample dataset, in the form of a datastep, including the variable you are trying to create.
unfortunately i cannot provide that = but could you point me in the direction of the correct sas documentation so i can look there for helpful hints? thanks -
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.