BookmarkSubscribeRSS Feed
Rajesh42z
Calcite | Level 5
  1. ARM = DRUG X in IWRS data, but EXTRT in IWRS reflects both DRUG X and DRUG Y throughout the study, then we leave ACTARM blank, populate SUPPDM.ARMNRS and SUPPDM.ACTARMUD.
  2. ARM = DRUG X in IWRS data, but EXTRT in IWRS reflects only DRUG Y throughout the study, then ACTARM = DRUG Y, leave SUPPDM.ARMNRS and SUPPDM.ACTARMUD blank.

    3) if ARM = DRUG X in IWRS data,  EXTRT in IWRS reflects DRUG X only, then                       ACTARM = DRUG X, leave SUPPDM.ARMNRS and SUPPDM.ACTARMUD blank.

 

 
 

arm=1 
druga drugb drug c drugd

 

arm=2

druge drugf drugg drugh

 

how to program it

 

 

1 REPLY 1
andreas_lds
Jade | Level 19

Please post data in usable form and the expected result.

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
  • 1 reply
  • 690 views
  • 0 likes
  • 2 in conversation