Hi Experts,
I am new to SAS and learning to complete my school assignment in which I am having some challenges.
I was instructed to use Work.heart1 data set as input and asked to create 4 new variables into new data set called Work.Heart2.
For this I used Recode Values from task option to generate new variable, but it is allowing to change only one variable at a time. Also, every time I need to make new dataset from Work.Heart2 to Work.Heart3 until Work.Heart5 for generating 4 new variables like Chol_StatusNew, Sex_New, Weight_StatusNew & Smoking_StatusNew.
Also, in continuation to above question I need to use Work.Heart2 data set and create a new library and with output data set that contains new variables created in above step and old variables in the dataset. This step I am unable to start.
Kindly help me how to do this task.
Regards,
Sunil