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

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 632 views
  • 0 likes
  • 2 in conversation