1                                        The SAS System         09:51 Wednesday, October 21, 2009

NOTE: Copyright (c) 2002-2003 by SAS Institute Inc., Cary, NC, USA. 
NOTE: SAS (r) 9.1 (TS1M3)
      Licensed to SY TRUONG, Site 0051884001.
NOTE: This session is executing on the XP_PRO  platform.



NOTE: (E9BX04) SAS 9.1.3 SP 4

NOTE: SAS initialization used:
      real time           0.62 seconds
      cpu time            0.57 seconds
      

NOTE: AUTOEXEC processing beginning; file is C:\apache\htdocs\cdiscbuilder\saspgm\autoexec.sas.

NOTE: Libref _CDISC_ was successfully assigned as follows: 
      Engine:        V9 
      Physical Name: C:\apache\htdocs\cdiscbuilder\saspgm

NOTE: AUTOEXEC processing completed.

1          /*------------------------------------------------------------*
2          * program:     cdisc106.sas                                     *
3          * Description: Case #106. DM Reference Date (R4096) For DM domains, this identifies
3        ! records that *
4          *              violate the condition [Subject Reference Start Date/Time is not null],*
5          *              limited to records where [Arm Code doesn't equal 'SCRNFAIL'].*
6          * By:          Sy Truong, 10/14/2009                          *
7          *-------------------------------------------------------------*/
8          
9          libname templib '../data';
NOTE: Libref TEMPLIB was successfully assigned as follows: 
      Engine:        V9 
      Physical Name: C:\apache\htdocs\cdiscbuilder\data
10         
11         *** Create some data to be selected ***;
12         data templib.dm(label="Demographics");
13         attrib STUDYID   label="Study Identifier" length=$100;
14         attrib DOMAIN  	 label="Domain Abbreviation" length=$100;
15         attrib USUBJID   label="Unique Subject Identifier" length=$100;
16         attrib SUBJID  	 label="Subject Identifier for the Study" length=$100;
17         attrib RFSTDTC   label="Subject Reference Start Date/Time" length=$100;
18         attrib RFENDTC   label="Subject Reference End Date/Time" length=$100;
19         attrib SITEID  	 label="Study Site Identifier" length=$100;
20         attrib INVID  	 label="Investigator Identifier" length=$100;
21         attrib INVNAM  	 label="Investigator Name" length=$100;
22         attrib BRTHDTC   label="Date/Time of Birth" length=$100;
23         attrib AGE  	 label="Age" length=8;
24         attrib AGEU  	 label="Age Units" length=$100;
25         attrib SEX  	 label="Sex" length=$100;
26         attrib RACE  	 label="Race" length=$100;
27         attrib ETHNIC  	 label="Ethnicity" length=$100;
2                                        The SAS System         09:51 Wednesday, October 21, 2009

28         attrib ARMCD  	 label="Planned Arm Code" length=$100;
29         attrib ARM  	 label="Description of Planned Arm" length=$100;
30         attrib COUNTRY   label="Country" length=$100;
31         attrib DMDTC  	 label="Date/Time of Collection" length=$100;
32         attrib DMDY  	 label="Study Day of Collection" length=8;
33         STUDYID ='test';
34         DOMAIN='test';USUBJID='test';  SUBJID  ='test';RFSTDTC  ='';RFENDTC  ='test';SITEID
34       ! ='test';INVID  ='test';INVNAM  ='test';BRTHDTC  ='test';AGE  =50;
35         AGEU  ='test';SEX  ='test';RACE  ='test';ETHNIC  ='test';ARMCD  ='SCRNFAIL';ARM
35       ! ='test';COUNTRY  ='test';DMDTC  ='test';DMDY  =123;
36         output;
37         STUDYID ='test';
38         DOMAIN='test';USUBJID='test';  SUBJID  ='test';RFSTDTC  ='test';RFENDTC  ='test';
38       ! SITEID  ='test';INVID  ='test';INVNAM  ='test';BRTHDTC  ='test';AGE  =50;
39         AGEU  ='test';SEX  ='test';RACE  ='test';ETHNIC  ='test';ARMCD  ='test';ARM  ='test';
39       ! COUNTRY  ='test';DMDTC  ='test';DMDY  =123;
40         output;
41         STUDYID ='test';
42         DOMAIN='test';USUBJID='test';  SUBJID  ='test';RFSTDTC  ='';RFENDTC  ='test';SITEID
42       ! ='test';INVID  ='test';INVNAM  ='test';BRTHDTC  ='test';AGE  =50;
43         AGEU  ='test';SEX  ='test';RACE  ='test';ETHNIC  ='test';ARMCD  ='test';ARM  ='test';
43       ! COUNTRY  ='test';DMDTC  ='test';DMDY  =123;
44         output;
45         STUDYID ='test';
46         DOMAIN='test';USUBJID='test';  SUBJID  ='test';RFSTDTC  ='test';RFENDTC  ='test';
46       ! SITEID  ='test';INVID  ='test';INVNAM  ='test';BRTHDTC  ='test';AGE  =50;
47         AGEU  ='test';SEX  ='test';RACE  ='test';ETHNIC  ='test';ARMCD  ='SCRNFAIL';ARM
47       ! ='Screen Failure';COUNTRY  ='test';DMDTC  ='test';DMDY  =123;
48         output;
49         STUDYID ='test';
50         DOMAIN='test';USUBJID='test';  SUBJID  ='test';RFSTDTC  ='test';RFENDTC  ='test';
50       ! SITEID  ='test';INVID  ='test';INVNAM  ='test';BRTHDTC  ='test';AGE  =50;
51         AGEU  ='test';SEX  ='test';RACE  ='test';ETHNIC  ='test';ARMCD  ='test';ARM  ='test';
51       ! COUNTRY  ='test';DMDTC  ='test';DMDY  =123;
52         output;
53         STUDYID ='test';
54         DOMAIN='test';USUBJID='test';  SUBJID  ='test';RFSTDTC  ='';RFENDTC  ='test';SITEID
54       ! ='test';INVID  ='test';INVNAM  ='test';BRTHDTC  ='test';AGE  =.;
55         AGEU  ='test';SEX  ='test';RACE  ='test';ETHNIC  ='test';ARMCD  ='test';ARM  ='Screen
55       ! Failure';COUNTRY  ='test';DMDTC  ='test';DMDY  =123;
56         output;
57         run;

NOTE: The data set TEMPLIB.DM has 6 observations and 20 variables.
NOTE: DATA statement used (Total process time):
      real time           0.03 seconds
      cpu time            0.03 seconds
      

58         %cdisc(datlib=templib,datname=dm);

59                              data misobs(keep=obsnum);
60                                 retain obsnum 0;
3                                        The SAS System         09:51 Wednesday, October 21, 2009

61                                 set templib.dm(keep=STUDYID);
62                                 obsnum=obsnum+1;
63                                 if missing(STUDYID) then
64                                    output;
65                              run;

NOTE: There were 6 observations read from the data set TEMPLIB.DM.
NOTE: The data set WORK.MISOBS has 0 observations and 1 variables.
NOTE: DATA statement used (Total process time):
      real time           0.03 seconds
      cpu time            0.03 seconds
      

66                              data misobs(keep=obsnum);
67                                 retain obsnum 0;
68                                 set templib.dm(keep=DOMAIN);
69                                 obsnum=obsnum+1;
70                                 if missing(DOMAIN) then
71                                    output;
72                              run;

NOTE: There were 6 observations read from the data set TEMPLIB.DM.
NOTE: The data set WORK.MISOBS has 0 observations and 1 variables.
NOTE: DATA statement used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds
      

73                              data misobs(keep=obsnum);
74                                 retain obsnum 0;
75                                 set templib.dm(keep=USUBJID);
76                                 obsnum=obsnum+1;
77                                 if missing(USUBJID) then
78                                    output;
79                              run;

NOTE: There were 6 observations read from the data set TEMPLIB.DM.
NOTE: The data set WORK.MISOBS has 0 observations and 1 variables.
NOTE: DATA statement used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds
      

80                              data misobs(keep=obsnum);
81                                 retain obsnum 0;
82                                 set templib.dm(keep=SUBJID);
83                                 obsnum=obsnum+1;
84                                 if missing(SUBJID) then
85                                    output;
86                              run;

NOTE: There were 6 observations read from the data set TEMPLIB.DM.
NOTE: The data set WORK.MISOBS has 0 observations and 1 variables.
4                                        The SAS System         09:51 Wednesday, October 21, 2009

NOTE: DATA statement used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds
      

87                              data misobs(keep=obsnum);
88                                 retain obsnum 0;
89                                 set templib.dm(keep=SITEID);
90                                 obsnum=obsnum+1;
91                                 if missing(SITEID) then
92                                    output;
93                              run;

NOTE: There were 6 observations read from the data set TEMPLIB.DM.
NOTE: The data set WORK.MISOBS has 0 observations and 1 variables.
NOTE: DATA statement used (Total process time):
      real time           0.03 seconds
      cpu time            0.03 seconds
      

94                              data misobs(keep=obsnum);
95                                 retain obsnum 0;
96                                 set templib.dm(keep=SEX);
97                                 obsnum=obsnum+1;
98                                 if missing(SEX) then
99                                    output;
100                             run;

NOTE: There were 6 observations read from the data set TEMPLIB.DM.
NOTE: The data set WORK.MISOBS has 0 observations and 1 variables.
NOTE: DATA statement used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds
      

101                             data misobs(keep=obsnum);
102                                retain obsnum 0;
103                                set templib.dm(keep=ARMCD);
104                                obsnum=obsnum+1;
105                                if missing(ARMCD) then
106                                   output;
107                             run;

NOTE: There were 6 observations read from the data set TEMPLIB.DM.
NOTE: The data set WORK.MISOBS has 0 observations and 1 variables.
NOTE: DATA statement used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds
      

108                             data misobs(keep=obsnum);
109                                retain obsnum 0;
110                                set templib.dm(keep=ARM);
5                                        The SAS System         09:51 Wednesday, October 21, 2009

111                                obsnum=obsnum+1;
112                                if missing(ARM) then
113                                   output;
114                             run;

NOTE: There were 6 observations read from the data set TEMPLIB.DM.
NOTE: The data set WORK.MISOBS has 0 observations and 1 variables.
NOTE: DATA statement used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds
      

115                             data misobs(keep=obsnum);
116                                retain obsnum 0;
117                                set templib.dm(keep=COUNTRY);
118                                obsnum=obsnum+1;
119                                if missing(COUNTRY) then
120                                   output;
121                             run;

NOTE: There were 6 observations read from the data set TEMPLIB.DM.
NOTE: The data set WORK.MISOBS has 0 observations and 1 variables.
NOTE: DATA statement used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds
      

122        data _27;
123        retain obsnum 0;
124        set templib.dm(keep=ARMCD ARM);
125        obsnum = obsnum + 1;
126        if (trim(left(upcase(ARMCD))) = 'SCRNFAIL' and trim(left(upcase(ARM))) ne 'SCREEN
126      ! FAILURE') or (trim(left(upcase(ARMCD))) ne 'SCRNFAIL' and trim(left(upcase(ARM))) =
126      ! 'SCREEN FAILURE') then output;
127        run;

NOTE: There were 6 observations read from the data set TEMPLIB.DM.
NOTE: The data set WORK._27 has 2 observations and 3 variables.
NOTE: DATA statement used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds
      

128        proc sort data=templib.dm out=dm nodupkey;
129        by usubjid;
130        run;

NOTE: There were 6 observations read from the data set TEMPLIB.DM.
NOTE: 5 observations with duplicate key values were deleted.
NOTE: The data set WORK.DM has 1 observations and 20 variables.
NOTE: PROCEDURE SORT used (Total process time):
      real time           0.03 seconds
      cpu time            0.03 seconds
6                                        The SAS System         09:51 Wednesday, October 21, 2009

      

NOTE: Table WORK._72 created, with 0 rows and 1 columns.

131        proc sort data=templib.dm out=dm nodupkey;
132        by ARMCD;
133        run;

NOTE: There were 6 observations read from the data set TEMPLIB.DM.
NOTE: 4 observations with duplicate key values were deleted.
NOTE: The data set WORK.DM has 2 observations and 20 variables.
NOTE: PROCEDURE SORT used (Total process time):
      real time           0.03 seconds
      cpu time            0.03 seconds
      

134        proc sort data=templib.TA out=ta nodupkey;
135        by ARMCD;
136        run;

NOTE: There were 4 observations read from the data set TEMPLIB.TA.
NOTE: 0 observations with duplicate key values were deleted.
NOTE: The data set WORK.TA has 4 observations and 10 variables.
NOTE: PROCEDURE SORT used (Total process time):
      real time           0.03 seconds
      cpu time            0.03 seconds
      

NOTE: Table WORK._74 created, with 2 rows and 1 columns.

137        proc sort data=templib.dm out=dm;
138        by USUBJID;
139        run;

NOTE: There were 6 observations read from the data set TEMPLIB.DM.
NOTE: The data set WORK.DM has 6 observations and 20 variables.
NOTE: PROCEDURE SORT used (Total process time):
      real time           0.03 seconds
      cpu time            0.03 seconds
      

140        data ds;
141        retain obsnum 0;
142        set templib.ds;
143        obsnum = obsnum + 1;
144        run;

NOTE: There were 7 observations read from the data set TEMPLIB.DS.
NOTE: The data set WORK.DS has 7 observations and 16 variables.
NOTE: DATA statement used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds
      
7                                        The SAS System         09:51 Wednesday, October 21, 2009


145        proc sort data=DS;
146        by USUBJID DSSEQ;
147        run;

NOTE: There were 7 observations read from the data set WORK.DS.
NOTE: The data set WORK.DS has 7 observations and 16 variables.
NOTE: PROCEDURE SORT used (Total process time):
      real time           0.03 seconds
      cpu time            0.03 seconds
      

NOTE: Table WORK._77 created, with 7 rows and 3 columns.

148        proc sort data=templib.dm out=dm;
149        by USUBJID;
150        run;

NOTE: There were 6 observations read from the data set TEMPLIB.DM.
NOTE: The data set WORK.DM has 6 observations and 20 variables.
NOTE: PROCEDURE SORT used (Total process time):
      real time           0.03 seconds
      cpu time            0.03 seconds
      

151        data ex;
152        retain obsnum 0;
153        set templib.ex;
154        obsnum = obsnum + 1;
155        run;

NOTE: There were 7 observations read from the data set TEMPLIB.EX.
NOTE: The data set WORK.EX has 7 observations and 13 variables.
NOTE: DATA statement used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds
      

156        proc sort data=ex;
157        by USUBJID EXSEQ;
158        run;

NOTE: There were 7 observations read from the data set WORK.EX.
NOTE: The data set WORK.EX has 7 observations and 13 variables.
NOTE: PROCEDURE SORT used (Total process time):
      real time           0.04 seconds
      cpu time            0.04 seconds
      

NOTE: Table WORK._78 created, with 7 rows and 3 columns.

159        data dm;
160        retain obsnum 0;
8                                        The SAS System         09:51 Wednesday, October 21, 2009

161        set templib.dm(keep=ARMCD ARM);
162        attrib total length=$1000;
163        total = trim(left(ARMCD))||'+'||trim(left(ARM));
164        obsnum = obsnum + 1;
165        run;

NOTE: There were 6 observations read from the data set TEMPLIB.DM.
NOTE: The data set WORK.DM has 6 observations and 4 variables.
NOTE: DATA statement used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds
      

166        data ta;
167        set templib.ta(keep= ARMCD ARM);
168        attrib total length=$1000;
169        total = trim(left(ARMCD))||'+'||trim(left(ARM));
170        run;

NOTE: There were 4 observations read from the data set TEMPLIB.TA.
NOTE: The data set WORK.TA has 4 observations and 3 variables.
NOTE: DATA statement used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds
      

NOTE: Table WORK._79 created, with 6 rows and 4 columns.

171        data work._87;
172        retain obsnum 0;
173        set templib.dm;
174        obsnum = obsnum + 1;
175        if USUBJID ne "" then do;
176        output;
177        end;
178        run;

NOTE: There were 6 observations read from the data set TEMPLIB.DM.
NOTE: The data set WORK._87 has 6 observations and 21 variables.
NOTE: DATA statement used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds
      

179        proc sort data=work._87 out=work.__87 nodupkey;
180        by USUBJID;
181        run;

NOTE: There were 6 observations read from the data set WORK._87.
NOTE: 5 observations with duplicate key values were deleted.
NOTE: The data set WORK.__87 has 1 observations and 21 variables.
NOTE: PROCEDURE SORT used (Total process time):
      real time           0.03 seconds
9                                        The SAS System         09:51 Wednesday, October 21, 2009

      cpu time            0.03 seconds
      

182        data work._87_;
183        merge work._87 (in=a) work.__87 (in=b);
184        by obsnum;
185        if a and not b;
186        run;

NOTE: There were 6 observations read from the data set WORK._87.
NOTE: There were 1 observations read from the data set WORK.__87.
NOTE: The data set WORK._87_ has 5 observations and 21 variables.
NOTE: DATA statement used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds
      

187        data _88;
188        retain obsnum 0;
189        set templib.dm;
190        obsnum = obsnum + 1;
191        if AGE ne "" and AGE < 0 then do;
192        output;
193        end;
194        run;

NOTE: Character values have been converted to numeric values at the places given by: 
      (Line):(Column).
      191:11   
NOTE: There were 6 observations read from the data set TEMPLIB.DM.
NOTE: The data set WORK._88 has 0 observations and 21 variables.
NOTE: DATA statement used (Total process time):
      real time           0.03 seconds
      cpu time            0.03 seconds
      

195        data _106;
196        retain obsnum 0;
197        set templib.dm;
198        obsnum = obsnum + 1;
199        if RFSTDTC = '' and ARMCD ne 'SCRNFAIL' then do;
200        output;
201        end;
202        run;

NOTE: There were 6 observations read from the data set TEMPLIB.DM.
NOTE: The data set WORK._106 has 2 observations and 21 variables.
NOTE: DATA statement used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds
      

203        data _107;
10                                       The SAS System         09:51 Wednesday, October 21, 2009

204        retain obsnum 0;
205        set templib.dm;
206        obsnum = obsnum + 1;
207        if RFENDTC = '' and ARMCD ne 'SCRNFAIL' then do;
208        output;
209        end;
210        run;

NOTE: There were 6 observations read from the data set TEMPLIB.DM.
NOTE: The data set WORK._107 has 0 observations and 21 variables.
NOTE: DATA statement used (Total process time):
      real time           0.03 seconds
      cpu time            0.03 seconds
      

211        data _113;
212        retain obsnum 0;
213        set templib.dm;
214        obsnum = obsnum + 1;
215        if AGEU ='' and AGE ne . then do;
216        output;
217        end;
218        run;

NOTE: There were 6 observations read from the data set TEMPLIB.DM.
NOTE: The data set WORK._113 has 0 observations and 21 variables.
NOTE: DATA statement used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds
      

219                 proc sort data=cdisc nodupkey;
220                    by libname datname datlab variable length label type case comment;
221                 run;

NOTE: There were 31 observations read from the data set WORK.CDISC.
NOTE: 0 observations with duplicate key values were deleted.
NOTE: The data set WORK.CDISC has 31 observations and 11 variables.
NOTE: PROCEDURE SORT used (Total process time):
      real time           0.03 seconds
      cpu time            0.03 seconds
      

222              proc sort data = work.cdisc;
223                 by libname datname datlab variable case;
224              run;

NOTE: There were 31 observations read from the data set WORK.CDISC.
NOTE: The data set WORK.CDISC has 31 observations and 11 variables.
NOTE: PROCEDURE SORT used (Total process time):
      real time           0.04 seconds
      cpu time            0.04 seconds
      
11                                       The SAS System         09:51 Wednesday, October 21, 2009


225        
226              proc format;
227                 *** Generate the comments for the CDISC evaluation case number ***;
228                 value $casefmt
229                 '1' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#1">1</a>'
230                 '2' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#2">2</a>'
231                 '3' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#3">3</a>'
232                 '4' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#4">4</a>'
233                 '5' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#5">5</a>'
234                 '6' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#6">6</a>'
235                 '7' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#7">7</a>'
236                 '8' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#8">8</a>'
237                 '9' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#9">9</a>'
238                 '10' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#10">10</a>'
239                 '11' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#11">11</a>'
240                 '12' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#12">12</a>'
241                 '13' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#13">13</a>'
242                 '14' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#14">14</a>'
243                 '15' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#15">15</a>'
244                 '16' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#16">16</a>'
245                 '17' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#17">17</a>'
246                 '18' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#18">18</a>'
247                 '19' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#19">19</a>'
248                 '20' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#20">20</a>'
249                 '21' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#21">21</a>'
250                 '22' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#22">22</a>'
251                 '23' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#23">23</a>'
252                 '24' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#24">24</a>'
253                 '25' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#25">25</a>'
254                 '26' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#26">26</a>'
255                 '27' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#27">27</a>'
256                 '28' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#28">28</a>'
257                 '29' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#29">29</a>'
258                 '30' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#30">30</a>'
259                 '31' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#31">31</a>'
260                 '32' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#32">32</a>'
261                 '33' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#33">33</a>'
262                 '34' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#34">34</a>'
263                 '35' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#35">35</a>'
264                 '36' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#36">36</a>'
265                 '37' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#37">37</a>'
266                 '38' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#38">38</a>'
267                 '39' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#39">39</a>'
268                 '40' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#40">40</a>'
269                 '41' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#41">41</a>'
270                 '42' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#42">42</a>'
271                 '43' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#43">43</a>'
272                 '44' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#44">44</a>'
273                 '45' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#45">45</a>'
274                 '46' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#46">46</a>'
275                 '47' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#47">47</a>'
276                 '48' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#48">48</a>'
12                                       The SAS System         09:51 Wednesday, October 21, 2009

277                 '49' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#49">49</a>'
278                 '50' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#50">50</a>'
279                 '51' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#51">51</a>'
280                 '52' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#52">52</a>'
281                 '53' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#53">53</a>'
282                 '54' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#54">54</a>'
283                 '55' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#55">55</a>'
284                 '56' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#56">56</a>'
285                 '57' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#57">57</a>'
286                 '58' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#58">58</a>'
287                 '59' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#59">59</a>'
288                 '60' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#60">60</a>'
289                 '61' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#61">61</a>'
290                 '62' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#62">62</a>'
291                 '63' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#63">63</a>'
292                 '64' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#64">64</a>'
293                 '65' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#65">65</a>'
294                 '66' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#66">66</a>'
295                 '67' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#67">67</a>'
296                 '68' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#68">68</a>'
297                 '69' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#69">69</a>'
298                 '70' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#70">70</a>'
299                 '71' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#71">71</a>'
300                 '72' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#72">72</a>'
301                 '73' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#73">73</a>'
302                 '74' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#74">74</a>'
303                 '75' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#75">75</a>'
304                 '76' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#76">76</a>'
305                 '77' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#77">77</a>'
306                 '78' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#78">78</a>'
307                 '79' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#79">79</a>'
308                 '80' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#80">80</a>'
309                 '81' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#81">81</a>'
310                 '82' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#82">82</a>'
311                 '83' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#83">83</a>'
312                 '84' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#84">84</a>'
313                 '85' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#85">85</a>'
314                 '86' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#86">86</a>'
315                 '87' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#87">87</a>'
316                 '88' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#88">88</a>'
317                 '89' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#89">89</a>'
318                 '90' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#90">90</a>'
319                 '91' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#91">91</a>'
320                 '92' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#92">92</a>'
321                 '93' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#93">93</a>'
322                 '94' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#94">94</a>'
323                 '95' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#95">95</a>'
324                 '96' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#96">96</a>'
325                 '97' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#97">97</a>'
326                 '98' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#98">98</a>'
327                 '99' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#99">99</a>'
328                 '100' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#100">100</a>'
329                 '101' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#101">101</a>'
13                                       The SAS System         09:51 Wednesday, October 21, 2009

330                 '102' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#102">102</a>'
331                 '103' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#103">103</a>'
332                 '104' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#104">104</a>'
333                 '105' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#105">105</a>'
334                 '106' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#106">106</a>'
335                 '107' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#107">107</a>'
336                 '108' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#108">108</a>'
337                 '109' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#109">109</a>'
338                 '110' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#110">110</a>'
339                 '111' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#111">111</a>'
340                 '112' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#112">112</a>'
341                 '113' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#113">113</a>';
NOTE: Format $CASEFMT has been output.
342        
343        
344        
345                 *** Generate the format for the bookmark of variables ***;
346                 value $bookfmt
347                 "dm.studyid" = '<a name="dm.studyid">dm.studyid</a>'
348                 "dm.domain" = '<a name="dm.domain">dm.domain</a>'
349                 "dm.usubjid" = '<a name="dm.usubjid">dm.usubjid</a>'
350                 "dm.subjid" = '<a name="dm.subjid">dm.subjid</a>'
351                 "dm.rfstdtc" = '<a name="dm.rfstdtc">dm.rfstdtc</a>'
352                 "dm.rfendtc" = '<a name="dm.rfendtc">dm.rfendtc</a>'
353                 "dm.siteid" = '<a name="dm.siteid">dm.siteid</a>'
354                 "dm.invid" = '<a name="dm.invid">dm.invid</a>'
355                 "dm.invnam" = '<a name="dm.invnam">dm.invnam</a>'
356                 "dm.brthdtc" = '<a name="dm.brthdtc">dm.brthdtc</a>'
357                 "dm.age" = '<a name="dm.age">dm.age</a>'
358                 "dm.ageu" = '<a name="dm.ageu">dm.ageu</a>'
359                 "dm.sex" = '<a name="dm.sex">dm.sex</a>'
360                 "dm.race" = '<a name="dm.race">dm.race</a>'
361                 "dm.ethnic" = '<a name="dm.ethnic">dm.ethnic</a>'
362                 "dm.armcd" = '<a name="dm.armcd">dm.armcd</a>'
363                 "dm.arm" = '<a name="dm.arm">dm.arm</a>'
364                 "dm.country" = '<a name="dm.country">dm.country</a>'
365                 "dm.dmdtc" = '<a name="dm.dmdtc">dm.dmdtc</a>'
366                 "dm.dmdy" = '<a name="dm.dmdy">dm.dmdy</a>'
367                 ;
NOTE: Format $BOOKFMT has been output.
368        
369                 *** Generate the format for dataset linking ***;
370                 value $datfmt
371                 "ae" = '<a name="ae">ae</a><br>'
372                 "ae3a" = '<a name="ae3a">ae3a</a><br>'
373                 "cdisc10" = '<a name="cdisc10">cdisc10</a><br>'
374                 "cdisc11" = '<a name="cdisc11">cdisc11</a><br>'
375                 "cdisc14" = '<a name="cdisc14">cdisc14</a><br>'
376                 "cdisc15" = '<a name="cdisc15">cdisc15</a><br>'
377                 "cdisc18" = '<a name="cdisc18">cdisc18</a><br>'
378                 "cdisc2" = '<a name="cdisc2">cdisc2</a><br>'
379                 "cdisc21" = '<a name="cdisc21">cdisc21</a><br>'
380                 "cdisc2b_1" = '<a name="cdisc2b_1">cdisc2b_1</a><br>'
14                                       The SAS System         09:51 Wednesday, October 21, 2009

381                 "cdisc2b_2" = '<a name="cdisc2b_2">cdisc2b_2</a><br>'
382                 "cdisc2b_3" = '<a name="cdisc2b_3">cdisc2b_3</a><br>'
383                 "cdisc2_b" = '<a name="cdisc2_b">cdisc2_b</a><br>'
384                 "cdisc2_c" = '<a name="cdisc2_c">cdisc2_c</a><br>'
385                 "cdisc4" = '<a name="cdisc4">cdisc4</a><br>'
386                 "cdisc5" = '<a name="cdisc5">cdisc5</a><br>'
387                 "cdisc6" = '<a name="cdisc6">cdisc6</a><br>'
388                 "cdisc7" = '<a name="cdisc7">cdisc7</a><br>'
389                 "cdisc8" = '<a name="cdisc8">cdisc8</a><br>'
390                 "cdisc9" = '<a name="cdisc9">cdisc9</a><br>'
391                 "ce" = '<a name="ce">ce</a><br>'
392                 "cm" = '<a name="cm">cm</a><br>'
393                 "co" = '<a name="co">co</a><br>'
394                 "da" = '<a name="da">da</a><br>'
395                 "dm" = '<a name="dm">dm</a><br>'
396                 "ds" = '<a name="ds">ds</a><br>'
397                 "dv" = '<a name="dv">dv</a><br>'
398                 "eg" = '<a name="eg">eg</a><br>'
399                 "ex" = '<a name="ex">ex</a><br>'
400                 "fa" = '<a name="fa">fa</a><br>'
401                 "ie" = '<a name="ie">ie</a><br>'
402                 "lb" = '<a name="lb">lb</a><br>'
403                 "mb" = '<a name="mb">mb</a><br>'
404                 "mh" = '<a name="mh">mh</a><br>'
405                 "ms" = '<a name="ms">ms</a><br>'
406                 "notdm" = '<a name="notdm">notdm</a><br>'
407                 "pc" = '<a name="pc">pc</a><br>'
408                 "pe" = '<a name="pe">pe</a><br>'
409                 "pp" = '<a name="pp">pp</a><br>'
410                 "qs" = '<a name="qs">qs</a><br>'
411                 "relrec" = '<a name="relrec">relrec</a><br>'
412                 "sc" = '<a name="sc">sc</a><br>'
413                 "se" = '<a name="se">se</a><br>'
414                 "su" = '<a name="su">su</a><br>'
415                 "supmh" = '<a name="supmh">supmh</a><br>'
416                 "suppae" = '<a name="suppae">suppae</a><br>'
417                 "suppp" = '<a name="suppp">suppp</a><br>'
418                 "supte" = '<a name="supte">supte</a><br>'
419                 "supvs" = '<a name="supvs">supvs</a><br>'
420                 "sv" = '<a name="sv">sv</a><br>'
421                 "ta" = '<a name="ta">ta</a><br>'
422                 "te" = '<a name="te">te</a><br>'
423                 "ti" = '<a name="ti">ti</a><br>'
424                 "ts" = '<a name="ts">ts</a><br>'
425                 "tv" = '<a name="tv">tv</a><br>'
426                 "vs" = '<a name="vs">vs</a><br>'
427                 ;
NOTE: Format $DATFMT has been output.
428              run;

NOTE: PROCEDURE FORMAT used (Total process time):
      real time           0.23 seconds
      cpu time            0.03 seconds
15                                       The SAS System         09:51 Wednesday, October 21, 2009

      

429        
430              data work.cdisc;
431                 set work.cdisc;
432                 by libname datname datlab variable case;
433        
434                 attrib datvar label="Dataset and Variable" length=$100 format=$bookfmt.;
435                 if variable ne '' then
436                 datvar = compress(lowcase(datname) || "." || lowcase(variable));
437                 else datvar = lowcase(datname);
438                 /*format case casefmt.;*/
439                 attrib charcase label = "Case Number" length = $10;
440                 charcase = trim(left(put(case, best.)));
441                 format charcase $casefmt.;
442                 *format datname $datfmt.;
443              run;

NOTE: There were 31 observations read from the data set WORK.CDISC.
NOTE: The data set WORK.CDISC has 31 observations and 13 variables.
NOTE: DATA statement used (Total process time):
      real time           0.03 seconds
      cpu time            0.03 seconds
      

444        
445              *** Remove The Special Characters ******;
446              proc template;
447                 define style styles.test/store=work.test;
448                 parent=styles.default;
449                 style byline from titlesandfooters /
450                    protectspecialchars=off;
451                 end;
NOTE: STYLE 'Styles.Test' has been saved to: WORK.TEST
452              run;
NOTE: PROCEDURE TEMPLATE used (Total process time):
      real time           0.09 seconds
      cpu time            0.04 seconds
      

453        
454              proc sort data = work.cdisc;
455                 by libname datname datlab variable case;
456              run;

NOTE: There were 31 observations read from the data set WORK.CDISC.
NOTE: The data set WORK.CDISC has 31 observations and 13 variables.
NOTE: PROCEDURE SORT used (Total process time):
      real time           0.03 seconds
      cpu time            0.03 seconds
      

457        
16                                       The SAS System         09:51 Wednesday, October 21, 2009

458              ods listing close;
459              ods html file='cdisc106.html' style=styles.mxistyle;
NOTE: Writing HTML Body file: cdisc106.html
460              data work.dm (drop=usrname datetime);
461                 set work.cdisc;
462                 where lowcase(datname)=lowcase("dm");
463              run;

NOTE: There were 31 observations read from the data set WORK.CDISC.
      WHERE LOWCASE(datname)='dm';
NOTE: The data set WORK.DM has 31 observations and 11 variables.
NOTE: DATA statement used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds
      

464                       data dm(drop=xxx);
465                          set dm;
466                          retain xxx 0;
467                          if xxx = 2 then xxx = 1;
468                          else xxx = xxx + 1;
469                          yyy = compress(put(xxx,best.));
470                       run;

NOTE: There were 31 observations read from the data set WORK.DM.
NOTE: The data set WORK.DM has 31 observations and 12 variables.
NOTE: DATA statement used (Total process time):
      real time           0.03 seconds
      cpu time            0.03 seconds
      

471        
472              %let newlab = %nrbquote(Demographics);
473              title1 height=2 '<a name="dm"> Findings from CDISC Evaluation</a>';
474              title2 height=2 "Data Table Name = dm Data Table Label=&newlab";
475              footnote1 height=2 "Generated on: 10/21/2009,  9:51:30 am, Administrator";
476              footnote2 height=2 "Located at: C:\apache\htdocs\cdiscbuilder\data";
477               proc report data = work.dm nowindows;
478                    column obs libname datvar label type length charcase comment yyy;
479                       define obs/computed 'Obs';
480                       define libname/width=20;
481                       define datvar/width=50;
482                       define label/width=50;
483                       define type/width=20;
484                       define length/width=50;
485                       define comment/width=50;
486                       define charcase/width=50;
487                       define yyy/ noprint;
488        
489                    compute yyy;
490                       if yyy = "2" then do;
491                          call define (_row_,'style','STYLE=[BACKGROUND=cxFFFFCC]');
492                       end;
17                                       The SAS System         09:51 Wednesday, October 21, 2009

493                    endcompute;
494        
495                    compute charcase;
496                       if charcase='1' then call define
496      ! ('charcase','style','STYLE=[BACKGROUND=CXccffcc JUST=CENTER]');
497                       if charcase='2' then call define
497      ! ('charcase','style','STYLE=[BACKGROUND=CXcd0030 JUST=CENTER]');
498                       if charcase='3' then call define
498      ! ('charcase','style','STYLE=[BACKGROUND=CXcd0094 JUST=CENTER]');
499                       if charcase='4' then call define
499      ! ('charcase','style','STYLE=[BACKGROUND=CXcd00f8 JUST=CENTER]');
500                       if charcase='5' then call define
500      ! ('charcase','style','STYLE=[BACKGROUND=CXcd015c JUST=CENTER]');
501                       if charcase='6' then call define
501      ! ('charcase','style','STYLE=[BACKGROUND=CXcd01c0 JUST=CENTER]');
502                       if charcase='7' then call define
502      ! ('charcase','style','STYLE=[BACKGROUND=CXcd0224 JUST=CENTER]');
503                       if charcase='8' then call define
503      ! ('charcase','style','STYLE=[BACKGROUND=CXcd0288 JUST=CENTER]');
504                       if charcase='9' then call define
504      ! ('charcase','style','STYLE=[BACKGROUND=CXcd02ec JUST=CENTER]');
505                       if charcase='10' then call define
505      ! ('charcase','style','STYLE=[BACKGROUND=CXcd0350 JUST=CENTER]');
506                       if charcase='11' then call define
506      ! ('charcase','style','STYLE=[BACKGROUND=CXcd03b4 JUST=CENTER]');
507                       if charcase='12' then call define
507      ! ('charcase','style','STYLE=[BACKGROUND=CXcd0418 JUST=CENTER]');
508                       if charcase='13' then call define
508      ! ('charcase','style','STYLE=[BACKGROUND=CXcd047c JUST=CENTER]');
509                       if charcase='14' then call define
509      ! ('charcase','style','STYLE=[BACKGROUND=CXcd04e0 JUST=CENTER]');
510                       if charcase='15' then call define
510      ! ('charcase','style','STYLE=[BACKGROUND=CXcd0544 JUST=CENTER]');
511                       if charcase='16' then call define
511      ! ('charcase','style','STYLE=[BACKGROUND=CXcd05a8 JUST=CENTER]');
512                       if charcase='17' then call define
512      ! ('charcase','style','STYLE=[BACKGROUND=CXcd060c JUST=CENTER]');
513                       if charcase='18' then call define
513      ! ('charcase','style','STYLE=[BACKGROUND=CXcd0670 JUST=CENTER]');
514                       if charcase='19' then call define
514      ! ('charcase','style','STYLE=[BACKGROUND=CXcd06d4 JUST=CENTER]');
515                       if charcase='20' then call define
515      ! ('charcase','style','STYLE=[BACKGROUND=CXffffcc JUST=CENTER]');
516                       if charcase='21' then call define
516      ! ('charcase','style','STYLE=[BACKGROUND=CX398C54 JUST=CENTER]');
517                       if charcase='22' then call define
517      ! ('charcase','style','STYLE=[BACKGROUND=CX398d1c JUST=CENTER]');
518                       if charcase='23' then call define
518      ! ('charcase','style','STYLE=[BACKGROUND=CX398d80 JUST=CENTER]');
519                       if charcase='24' then call define
519      ! ('charcase','style','STYLE=[BACKGROUND=CX398de4 JUST=CENTER]');
520                       if charcase='25' then call define
520      ! ('charcase','style','STYLE=[BACKGROUND=CX398e48 JUST=CENTER]');
18                                       The SAS System         09:51 Wednesday, October 21, 2009

521                       if charcase='26' then call define
521      ! ('charcase','style','STYLE=[BACKGROUND=CX398eac JUST=CENTER]');
522                       if charcase='27' then call define
522      ! ('charcase','style','STYLE=[BACKGROUND=CX398f10 JUST=CENTER]');
523                       if charcase='28' then call define
523      ! ('charcase','style','STYLE=[BACKGROUND=CX398f74 JUST=CENTER]');
524                       if charcase='29' then call define
524      ! ('charcase','style','STYLE=[BACKGROUND=CX398fd8 JUST=CENTER]');
525                       if charcase='30' then call define
525      ! ('charcase','style','STYLE=[BACKGROUND=CX39903c JUST=CENTER]');
526                       if charcase='31' then call define
526      ! ('charcase','style','STYLE=[BACKGROUND=CX3990a0 JUST=CENTER]');
527                       if charcase='32' then call define
527      ! ('charcase','style','STYLE=[BACKGROUND=CX399104 JUST=CENTER]');
528                       if charcase='33' then call define
528      ! ('charcase','style','STYLE=[BACKGROUND=CX399168 JUST=CENTER]');
529                       if charcase='34' then call define
529      ! ('charcase','style','STYLE=[BACKGROUND=CX3991cc JUST=CENTER]');
530                       if charcase='35' then call define
530      ! ('charcase','style','STYLE=[BACKGROUND=CX399230 JUST=CENTER]');
531                       if charcase='36' then call define
531      ! ('charcase','style','STYLE=[BACKGROUND=CX399294 JUST=CENTER]');
532                       if charcase='37' then call define
532      ! ('charcase','style','STYLE=[BACKGROUND=CX3992f8 JUST=CENTER]');
533                       if charcase='38' then call define
533      ! ('charcase','style','STYLE=[BACKGROUND=CX39935c JUST=CENTER]');
534                       if charcase='39' then call define
534      ! ('charcase','style','STYLE=[BACKGROUND=CXffcccc JUST=CENTER]');
535                       if charcase='40' then call define
535      ! ('charcase','style','STYLE=[BACKGROUND=CXffcd30 JUST=CENTER]');
536                       if charcase='41' then call define
536      ! ('charcase','style','STYLE=[BACKGROUND=CXffcd94 JUST=CENTER]');
537                       if charcase='42' then call define
537      ! ('charcase','style','STYLE=[BACKGROUND=CXffcdf8 JUST=CENTER]');
538                       if charcase='43' then call define
538      ! ('charcase','style','STYLE=[BACKGROUND=CXffce5c JUST=CENTER]');
539                       if charcase='44' then call define
539      ! ('charcase','style','STYLE=[BACKGROUND=CXffcec0 JUST=CENTER]');
540                       if charcase='45' then call define
540      ! ('charcase','style','STYLE=[BACKGROUND=CXffcf24 JUST=CENTER]');
541                       if charcase='46' then call define
541      ! ('charcase','style','STYLE=[BACKGROUND=CXffcf88 JUST=CENTER]');
542                       if charcase='47' then call define
542      ! ('charcase','style','STYLE=[BACKGROUND=CXffcfec JUST=CENTER]');
543                       if charcase='48' then call define
543      ! ('charcase','style','STYLE=[BACKGROUND=CXffd050 JUST=CENTER]');
544                       if charcase='49' then call define
544      ! ('charcase','style','STYLE=[BACKGROUND=CXffd0b4 JUST=CENTER]');
545                       if charcase='50' then call define
545      ! ('charcase','style','STYLE=[BACKGROUND=CXffd118 JUST=CENTER]');
546                       if charcase='51' then call define
546      ! ('charcase','style','STYLE=[BACKGROUND=CXffd17c JUST=CENTER]');
547                       if charcase='52' then call define
19                                       The SAS System         09:51 Wednesday, October 21, 2009

547      ! ('charcase','style','STYLE=[BACKGROUND=CXffd1e0 JUST=CENTER]');
548                       if charcase='53' then call define
548      ! ('charcase','style','STYLE=[BACKGROUND=CXffd244 JUST=CENTER]');
549                       if charcase='54' then call define
549      ! ('charcase','style','STYLE=[BACKGROUND=CXffd2a8 JUST=CENTER]');
550                       if charcase='55' then call define
550      ! ('charcase','style','STYLE=[BACKGROUND=CXffd30c JUST=CENTER]');
551                       if charcase='56' then call define
551      ! ('charcase','style','STYLE=[BACKGROUND=CXffd370 JUST=CENTER]');
552                       if charcase='57' then call define
552      ! ('charcase','style','STYLE=[BACKGROUND=CXffd3d4 JUST=CENTER]');
553                       if charcase='58' then call define
553      ! ('charcase','style','STYLE=[BACKGROUND=CXccccff JUST=CENTER]');
554                       if charcase='59' then call define
554      ! ('charcase','style','STYLE=[BACKGROUND=CXcccd63 JUST=CENTER]');
555                       if charcase='60' then call define
555      ! ('charcase','style','STYLE=[BACKGROUND=CXcccdc7 JUST=CENTER]');
556                       if charcase='61' then call define
556      ! ('charcase','style','STYLE=[BACKGROUND=CXccce2b JUST=CENTER]');
557                       if charcase='62' then call define
557      ! ('charcase','style','STYLE=[BACKGROUND=CXccce8f JUST=CENTER]');
558                       if charcase='63' then call define
558      ! ('charcase','style','STYLE=[BACKGROUND=CXcccef3 JUST=CENTER]');
559                       if charcase='64' then call define
559      ! ('charcase','style','STYLE=[BACKGROUND=CXcccf57 JUST=CENTER]');
560                       if charcase='65' then call define
560      ! ('charcase','style','STYLE=[BACKGROUND=CXcccfbb JUST=CENTER]');
561                       if charcase='66' then call define
561      ! ('charcase','style','STYLE=[BACKGROUND=CXccd01f JUST=CENTER]');
562                       if charcase='67' then call define
562      ! ('charcase','style','STYLE=[BACKGROUND=CXccd083 JUST=CENTER]');
563                       if charcase='68' then call define
563      ! ('charcase','style','STYLE=[BACKGROUND=CXccd0e7 JUST=CENTER]');
564                       if charcase='69' then call define
564      ! ('charcase','style','STYLE=[BACKGROUND=CXccd14b JUST=CENTER]');
565                       if charcase='70' then call define
565      ! ('charcase','style','STYLE=[BACKGROUND=CXccd1af JUST=CENTER]');
566                       if charcase='71' then call define
566      ! ('charcase','style','STYLE=[BACKGROUND=CXccd213 JUST=CENTER]');
567                       if charcase='72' then call define
567      ! ('charcase','style','STYLE=[BACKGROUND=CXccd277 JUST=CENTER]');
568                       if charcase='73' then call define
568      ! ('charcase','style','STYLE=[BACKGROUND=CXccd2db JUST=CENTER]');
569                       if charcase='74' then call define
569      ! ('charcase','style','STYLE=[BACKGROUND=CXccd33f JUST=CENTER]');
570                       if charcase='75' then call define
570      ! ('charcase','style','STYLE=[BACKGROUND=CXccd3a3 JUST=CENTER]');
571                       if charcase='76' then call define
571      ! ('charcase','style','STYLE=[BACKGROUND=CXccd407 JUST=CENTER]');
572                       if charcase='77' then call define
572      ! ('charcase','style','STYLE=[BACKGROUND=CX99ccff JUST=CENTER]');
573                       if charcase='78' then call define
573      ! ('charcase','style','STYLE=[BACKGROUND=CX99cd63 JUST=CENTER]');
20                                       The SAS System         09:51 Wednesday, October 21, 2009

574                       if charcase='79' then call define
574      ! ('charcase','style','STYLE=[BACKGROUND=CX99cdc7 JUST=CENTER]');
575                       if charcase='80' then call define
575      ! ('charcase','style','STYLE=[BACKGROUND=CX99ce2b JUST=CENTER]');
576                       if charcase='81' then call define
576      ! ('charcase','style','STYLE=[BACKGROUND=CX99ce8f JUST=CENTER]');
577                       if charcase='82' then call define
577      ! ('charcase','style','STYLE=[BACKGROUND=CX99cef3 JUST=CENTER]');
578                       if charcase='83' then call define
578      ! ('charcase','style','STYLE=[BACKGROUND=CX99cf57 JUST=CENTER]');
579                       if charcase='84' then call define
579      ! ('charcase','style','STYLE=[BACKGROUND=CX99cfbb JUST=CENTER]');
580                       if charcase='85' then call define
580      ! ('charcase','style','STYLE=[BACKGROUND=CX99d01f JUST=CENTER]');
581                       if charcase='86' then call define
581      ! ('charcase','style','STYLE=[BACKGROUND=CX99d083 JUST=CENTER]');
582                       if charcase='87' then call define
582      ! ('charcase','style','STYLE=[BACKGROUND=CX99d0e7 JUST=CENTER]');
583                       if charcase='88' then call define
583      ! ('charcase','style','STYLE=[BACKGROUND=CX99d14b JUST=CENTER]');
584                       if charcase='89' then call define
584      ! ('charcase','style','STYLE=[BACKGROUND=CX99d1af JUST=CENTER]');
585                       if charcase='90' then call define
585      ! ('charcase','style','STYLE=[BACKGROUND=CX99d213 JUST=CENTER]');
586                       if charcase='91' then call define
586      ! ('charcase','style','STYLE=[BACKGROUND=CX99d277 JUST=CENTER]');
587                       if charcase='92' then call define
587      ! ('charcase','style','STYLE=[BACKGROUND=CX99d2db JUST=CENTER]');
588                       if charcase='93' then call define
588      ! ('charcase','style','STYLE=[BACKGROUND=CX99d33f JUST=CENTER]');
589                       if charcase='94' then call define
589      ! ('charcase','style','STYLE=[BACKGROUND=CX99d3a3 JUST=CENTER]');
590                       if charcase='95' then call define
590      ! ('charcase','style','STYLE=[BACKGROUND=CX99d407 JUST=CENTER]');
591                       if charcase='96' then call define
591      ! ('charcase','style','STYLE=[BACKGROUND=CXffcc99 JUST=CENTER]');
592                       if charcase='97' then call define
592      ! ('charcase','style','STYLE=[BACKGROUND=CXffccfd JUST=CENTER]');
593                       if charcase='98' then call define
593      ! ('charcase','style','STYLE=[BACKGROUND=CXffcd61 JUST=CENTER]');
594                       if charcase='99' then call define
594      ! ('charcase','style','STYLE=[BACKGROUND=CXffcdc5 JUST=CENTER]');
595                       if charcase='100' then call define
595      ! ('charcase','style','STYLE=[BACKGROUND=CXffce29 JUST=CENTER]');
596                       if charcase='101' then call define
596      ! ('charcase','style','STYLE=[BACKGROUND=CXffce8d JUST=CENTER]');
597                       if charcase='102' then call define
597      ! ('charcase','style','STYLE=[BACKGROUND=CXffcef1 JUST=CENTER]');
598                       if charcase='103' then call define
598      ! ('charcase','style','STYLE=[BACKGROUND=CXffcf55 JUST=CENTER]');
599                       if charcase='104' then call define
599      ! ('charcase','style','STYLE=[BACKGROUND=CXffcfb9 JUST=CENTER]');
600                       if charcase='105' then call define
21                                       The SAS System         09:51 Wednesday, October 21, 2009

600      ! ('charcase','style','STYLE=[BACKGROUND=CXffd01d JUST=CENTER]');
601                       if charcase='106' then call define
601      ! ('charcase','style','STYLE=[BACKGROUND=CXffd081 JUST=CENTER]');
602                       if charcase='107' then call define
602      ! ('charcase','style','STYLE=[BACKGROUND=CXffd0e5 JUST=CENTER]');
603                       if charcase='108' then call define
603      ! ('charcase','style','STYLE=[BACKGROUND=CXffd149 JUST=CENTER]');
604                       if charcase='109' then call define
604      ! ('charcase','style','STYLE=[BACKGROUND=CXffd1ad JUST=CENTER]');
605                       if charcase='110' then call define
605      ! ('charcase','style','STYLE=[BACKGROUND=CXffd211 JUST=CENTER]');
606                       if charcase='111' then call define
606      ! ('charcase','style','STYLE=[BACKGROUND=CXffd275 JUST=CENTER]');
607                       if charcase='112' then call define
607      ! ('charcase','style','STYLE=[BACKGROUND=CXffd2d9 JUST=CENTER]');
608                       if charcase='113' then call define
608      ! ('charcase','style','STYLE=[BACKGROUND=CXffd33d JUST=CENTER]');
609                    endcomp;
610        
611                    compute obs;
612                       dobs + 1;
613                       obs = dobs;
614                    endcompute;
615                 run;

NOTE: There were 31 observations read from the data set WORK.DM.
NOTE: PROCEDURE REPORT used (Total process time):
      real time           0.17 seconds
      cpu time            0.06 seconds
      

616              run;
617              ods html close;
618              ods listing;
NOTE: PROCEDURE DISPLAY used (Total process time):
      real time           3.95 seconds
      cpu time            3.31 seconds
      


NOTE: SAS Institute Inc., SAS Campus Drive, Cary, NC USA 27513-2414
NOTE: The SAS System used:
      real time           4.68 seconds
      cpu time            3.95 seconds
      
