Datastep Logic #2

  • Follow


Dear All:

I want to calculate number of days from randomization for all the
dates present in each dataset for all the subjects in  a dataset
library .

I have a library with datasets DM,AE,LB etc ,ideally the report should
look like

Pat   compared date                       dataset   datevariable
visitdate    numberofdays
        (Date of randomization)

1       MMDDYY                                 DM
BRTHDT        MMDDYY
1       MMDDYY                                 AE
AESTDT        MMDDYY
1       MMDDYY                                 LB
LBDT            MMDDYY

2      MMDDYY                                  DM
BRTHDT        MMDDYY
2      MMDDYY                                  AE
AESTDT        MMDDYY
2      MMDDYY                                  LB
LBDT            MMDDYY




Any pointers, i was able to do this one dataset at a time .. but would
prefer to process all the datasets at time

Thanks in advance
Al
0
Reply ali6058 (166) 10/19/2010 12:55:50 AM


0 Replies
184 Views

(page loaded in 0.053 seconds)

Similiar Articles:






7/25/2012 11:10:44 PM


Reply: