I am running multiple analyses for different tables. Each table has a column for diagnosis and there are over 900 different types of diagnosis. SO what I do is recode column and then reclassify each diagnosis into 40 "diagnostic classes". However this is a tedious process repeating the recoding of the diagnoses column for each table.
Need help creating a recode script that captures the logic for grouping 900 diagnosis into 40 clusters and then apply the same recode process to a similar column in different tables. Is there a way to save and apply the recode script to a new column?