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

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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
  • 4302 views
  • 12 likes
  • 5 in conversation