BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Ian_K
Calcite | Level 5

I think that PG Stat has provided a completely correct solution.

I suspect that I am having a problem that I will refer to my IT group.

Thank you,

Ian

Ian_K
Calcite | Level 5

Hello Datasp,

The proc print output for the pharm input data is this:

                                    Obs    DRUG_ID    symptom

                                     1       1022     BP

                                     2       1022     ARRYTHMIA

                                     3       1023     ANGINA

                                     4       1024     BP

                                     5       1024     ANGINA

                                     6       1024     PALP

And for the Patient input data is this:

                               PATIENT_

                        Obs       ID       AILMENT_WORDS

                         1      245762     DIAHREA,NASEAU,ABDOMINAL CRAMPS

                         2      238761     MIGRAINE,ANGINA

                         3      239978     BP,HEADACHE,COUGH,THROAT PAIN

KachiM
Rhodochrosite | Level 12

Ian,

I don't know why?

IAN has to come to your rescue!

PGStats
Opal | Level 21

Very puzzling. Start a new SAS session, run the code, and post the whole log. - PG

PG

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 18 replies
  • 3745 views
  • 12 likes
  • 5 in conversation