1                                        The SAS System         09:42 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           1.87 seconds
      cpu time            2.04 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:     cdisc52.sas                                    *
3          * Description: Case #52. Date Collection Null For Findings domains, this identifies
3        ! records that*
4          *              violate the condition [Date/Time of Collection is not null], *
5          *              limited to records where [End Date/Time of Observation is not null].*
6          * By:          Sy Truong, 10/14/2009                          *
7          *-------------------------------------------------------------*/
8          libname templib '../data';
NOTE: Libref TEMPLIB was successfully assigned as follows: 
      Engine:        V9 
      Physical Name: C:\apache\htdocs\cdiscbuilder\data
9          data templib.lb(label="Laboratory Data");
10         attrib STUDYID length=$7 label="Study Identifier";
11         attrib DOMAIN length=$2 label="Domain Abbreviation";
12         attrib USUBJID length=$14 label="Unique Subject Identifier";
13         attrib LBSEQ length=8 label="Sequence Number";
14         attrib LBREFID length=$7 label="Specimen ID";
15         attrib LBTESTCD length=$7 label="LAB Test or Examination Short Name";
16         attrib LBTEST length=$22 label="LAB Test or Examination Name";
17         attrib LBCAT length=$10 label="Category for Lab Test";
18         /*
19         attrib LBORRES length=$8 label="Result or Finding in Original Units";
20         attrib LBORRESU length=$7 label="Original Units";
21         attrib LBORNRLO length=$8 label="Reference Range Lower Limit in Orig Unit";
22         attrib LBORNRHI length=$8 label="Reference Range Upper Limit in Orig Unit";
23         attrib LBSTRESC length=$8 label="Character Result/Finding in Std Format";
24         attrib LBSTRESN length=8 label="Numeric Result/Finding in Standard Units";
25         attrib LBSTRESU length=$7 label="Standard Units";
26         attrib LBSTNRLO length=8 label="Reference Range Lower Limit-Std Units";
27         attrib LBSTNRHI length=8 label="Reference Range Upper Limit-Std Units";
2                                        The SAS System         09:42 Wednesday, October 21, 2009

28         attrib LBSTNRC length=$19 label="Reference Range for Char Rslt-Std Units";
29         attrib LBNRIND length=$1 label="Reference Range Indicator";
30         attrib LBSPEC length=$5 label="Specimen Type";
31         attrib LBMETHOD length=$8 label="Method of Test or Examination";
32         */
33         ***attrib LBBLFL length=$1 label="Baseline Flag";
34         attrib LBFAST length=$1 label="Fasting Status";
35         attrib VISITNUM length=8 label="Visit Number";
36         attrib VISIT length=$7 label="Visit Name";
37         attrib VISITDY length=8 label="Planned Study Day of Visit";
38         attrib LBDTC length=$16 label="LBDTC";
39         attrib LBDY length=8 label="Study Day of Specimen Collection";
40         attrib LBDTC label="Date/Time of Specimen Collection" length=$20;
WARNING: Length of character variable LBDTC has already been set. 
         Use the LENGTH statement as the very first statement in the DATA STEP to declare the 
         length of a character variable.
41         attrib LBENDTC label="End Date/Time of Specimen Collection" length=$50;
42         
43         
44         STUDYID="CDISC01";
45         DOMAIN="LB";
46         USUBJID="CDISC01.100008";
47         LBSEQ=1;
48         LBREFID="B232115";
49         LBTESTCD="BILI";
50         LBTEST="Bilirubin";
51         LBCAT="Chemistry";
52         /*
53         LBORRES="0.4";
54         LBORRESU="MG/DL";
55         LBORNRLO=".0";
56         LBORNRHI="1.1";
57         LBSTRESC="6.8";
58         LBSTRESN=6.8;
59         LBSTRESU="UMOL/L";
60         LBSTNRLO=0;
61         LBSTNRHI=18.8;
62         LBSTNRC="";
63         LBNRIND="N";
64         LBSPEC="Blood";
65         LBMETHOD="";
66         */
67         ***LBBLFL="Y";
68         LBFAST="Y";
69         VISITNUM=1;
70         VISIT="SCREEN";
71         VISITDY=-13;
72         LBDTC="2003-04-15T11:20";
73         LBDY=-14;
74         LBDTC='12/09/2009';
75         LBENDTC="12/09/2009";
76         
77         output;
3                                        The SAS System         09:42 Wednesday, October 21, 2009

78         STUDYID="CDISC01";
79         DOMAIN="LB";
80         USUBJID="CDISC01.100008";
81         LBSEQ=2;
82         LBREFID="B290028";
83         LBTESTCD="BILI";
84         LBTEST="Bilirubin";
85         LBCAT="Chemistry";
86         /*
87         LBORRES="0.3";
88         LBORRESU="MG/DL";
89         LBORNRLO=".0";
90         LBORNRHI="1.1";
91         LBSTRESC="5.1";
92         LBSTRESN=5.1;
93         LBSTRESU="UMOL/L";
94         LBSTNRLO=0;
95         LBSTNRHI=18.8;
96         LBSTNRC="";
97         LBNRIND="N";
98         LBSPEC="Blood";
99         LBMETHOD="";
100        */
101        ***LBBLFL="";
102        LBFAST="N";
103        VISITNUM=10;
104        VISIT="WEEK 24";
105        VISITDY=169;
106        LBDY=168;
107        LBDTC='12/09/2009';
108        LBENDTC="12/09/2009";
109        
110        output;
111        STUDYID="CDISC01";
112        DOMAIN="LB";
113        USUBJID="CDISC01.100008";
114        LBSEQ=3;
115        LBREFID="B232115";
116        LBTESTCD="BUN";
117        LBTEST="Blood Urea Nitrogen";
118        LBCAT="Chemistry";
119        /*
120        LBORRES="26";
121        LBORRESU="MG/DL";
122        LBORNRLO="9";
123        LBORNRHI="24";
124        LBSTRESC="9.28";
125        LBSTRESN=9.28;
126        LBSTRESU="MMOL/L";
127        LBSTNRLO=3.21;
128        LBSTNRHI=8.57;
129        LBSTNRC="";
130        LBNRIND="H";
4                                        The SAS System         09:42 Wednesday, October 21, 2009

131        LBSPEC="Blood";
132        LBMETHOD="";
133        */
134        ***LBBLFL="Y";
135        LBFAST="Y";
136        VISITNUM=1;
137        VISIT="SCREEN";
138        VISITDY=-13;
139        LBDTC='12/09/2009';
140        LBENDTC="12/09/2009";
141        LBDY=-14;
142        output;
143        STUDYID="CDISC01";
144        DOMAIN="LB";
145        USUBJID="CDISC01.100008";
146        LBSEQ=4;
147        LBREFID="B290028";
148        LBTESTCD="BUN";
149        LBTEST="Blood Urea Nitrogen";
150        LBCAT="Chemistry";
151        /*
152        LBORRES="18";
153        LBORRESU="MG/DL";
154        LBORNRLO="9";
155        LBORNRHI="24";
156        LBSTRESC="6.43";
157        LBSTRESN=6.43;
158        LBSTRESU="MMOL/L";
159        LBSTNRLO=3.21;
160        LBSTNRHI=8.57;
161        LBSTNRC="";
162        LBNRIND="N";
163        LBSPEC="Blood";
164        LBMETHOD="";
165        */
166        ***LBBLFL="";
167        LBFAST="N";
168        VISITNUM=10;
169        VISIT="WEEK 24";
170        VISITDY=169;
171        LBDTC="2003-10-13T11:55";
172        LBDY=168;
173        LBDTC='';
174        LBENDTC="12/09/2009";
175        
176        output;
177        run;

NOTE: The data set TEMPLIB.LB has 4 observations and 15 variables.
NOTE: DATA statement used (Total process time):
      real time           0.23 seconds
      cpu time            0.20 seconds
      
5                                        The SAS System         09:42 Wednesday, October 21, 2009


178        %cdisc(datlib=templib,datname=lb);

179                             data misobs(keep=obsnum);
180                                retain obsnum 0;
181                                set templib.lb(keep=STUDYID);
182                                obsnum=obsnum+1;
183                                if missing(STUDYID) then
184                                   output;
185                             run;

NOTE: There were 4 observations read from the data set TEMPLIB.LB.
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
      

186                             data misobs(keep=obsnum);
187                                retain obsnum 0;
188                                set templib.lb(keep=DOMAIN);
189                                obsnum=obsnum+1;
190                                if missing(DOMAIN) then
191                                   output;
192                             run;

NOTE: There were 4 observations read from the data set TEMPLIB.LB.
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
      

193                             data misobs(keep=obsnum);
194                                retain obsnum 0;
195                                set templib.lb(keep=USUBJID);
196                                obsnum=obsnum+1;
197                                if missing(USUBJID) then
198                                   output;
199                             run;

NOTE: There were 4 observations read from the data set TEMPLIB.LB.
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
      

200                             data misobs(keep=obsnum);
201                                retain obsnum 0;
202                                set templib.lb(keep=LBSEQ);
203                                obsnum=obsnum+1;
204                                if missing(LBSEQ) then
6                                        The SAS System         09:42 Wednesday, October 21, 2009

205                                   output;
206                             run;

NOTE: There were 4 observations read from the data set TEMPLIB.LB.
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
      

207                             data misobs(keep=obsnum);
208                                retain obsnum 0;
209                                set templib.lb(keep=LBTESTCD);
210                                obsnum=obsnum+1;
211                                if missing(LBTESTCD) then
212                                   output;
213                             run;

NOTE: There were 4 observations read from the data set TEMPLIB.LB.
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
      

214                             data misobs(keep=obsnum);
215                                retain obsnum 0;
216                                set templib.lb(keep=LBTEST);
217                                obsnum=obsnum+1;
218                                if missing(LBTEST) then
219                                   output;
220                             run;

NOTE: There were 4 observations read from the data set TEMPLIB.LB.
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
      

221        data _26;
222        retain obsnum 0;
223        set templib.lb(keep=VISITNUM);
224        obsnum = obsnum + 1;
225        attrib visitnumc length=$50;
226        visitnumc = compress(visitnum);
227        if index(visitnumc,'.') gt 0 then visitnumc = compress(scan(visitnumc,2,'.'));
228        if length(compress(visitnumc))>2 then output;
229        run;

NOTE: Numeric values have been converted to character values at the places given by: 
      (Line):(Column).
      226:22   
7                                        The SAS System         09:42 Wednesday, October 21, 2009

NOTE: There were 4 observations read from the data set TEMPLIB.LB.
NOTE: The data set WORK._26 has 0 observations and 3 variables.
NOTE: DATA statement used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds
      

230        data _34;
231        retain obsnum 0;
232        set templib.lb(keep=LBFAST);
233        obsnum = obsnum + 1;
234        if trim(left(LBFAST)) not in ('Y','N','U','') then output;
235        run;

NOTE: There were 4 observations read from the data set TEMPLIB.LB.
NOTE: The data set WORK._34 has 0 observations and 2 variables.
NOTE: DATA statement used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds
      

236        data _42;
237        retain obsnum 0;
238        set templib.lb(keep=LBTEST);
239        obsnum = obsnum + 1;
240        if length(trim(left(LBTEST))) > 40 then output;
241        run;

NOTE: There were 4 observations read from the data set TEMPLIB.LB.
NOTE: The data set WORK._42 has 0 observations and 2 variables.
NOTE: DATA statement used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds
      

242        data _43(keep= obsnum LBTESTCD status);
243        retain obsnum 0;
244        set templib.lb(keep=LBTESTCD);
245        obsnum = obsnum + 1;
246        attrib status length=$50;
247        if length(trim(left(LBTESTCD))) > 8 then do;
248        status = 'greater than 8 characters.';
249        output;
250        end;
251        if substr(LBTESTCD,1,1) in ('1','2','3','4','5','6','7','8','9','0') then do;
252        status = 'starts with a number.';
253        output;
254        end;
255        spec = '~`@#$%^&*()-+={}|\][:";<>?,./';
256        if index(LBTESTCD,"'") gt 0 then do;
257        status = 'contains special character(s).';
258        output;
259        end;
8                                        The SAS System         09:42 Wednesday, October 21, 2009

260        else do;
261        do i=1 to length(trim(left(LBTESTCD)));
262        if index(spec,substr(LBTESTCD,i,1)) gt 0 then do;
263        status = 'contains special character(s).';
264        output;
265        end;
266        end;
267        end;
268        run;

NOTE: There were 4 observations read from the data set TEMPLIB.LB.
NOTE: The data set WORK._43 has 0 observations and 3 variables.
NOTE: DATA statement used (Total process time):
      real time           0.03 seconds
      cpu time            0.03 seconds
      

269        proc sort data=templib.lb out=lb nodupkey;
270        by usubjid;
271        run;

NOTE: There were 4 observations read from the data set TEMPLIB.LB.
NOTE: 3 observations with duplicate key values were deleted.
NOTE: The data set WORK.LB has 1 observations and 15 variables.
NOTE: PROCEDURE SORT used (Total process time):
      real time           0.07 seconds
      cpu time            0.07 seconds
      

NOTE: Table WORK._72 created, with 1 rows and 1 columns.

272        proc sort data=templib.lb out=lb nodupkey;
273        by usubjid visitnum visit;
274        run;

NOTE: There were 4 observations read from the data set TEMPLIB.LB.
NOTE: 2 observations with duplicate key values were deleted.
NOTE: The data set WORK.LB has 2 observations and 15 variables.
NOTE: PROCEDURE SORT used (Total process time):
      real time           0.04 seconds
      cpu time            0.04 seconds
      

275        data lb;
276        attrib total length=$100;
277        set lb;
278        total = trim(left(usubjid))||'+'||compress(visitnum)||'+'||trim(left(visit));
279        put total=;
280        keep total;
281        run;

NOTE: Numeric values have been converted to character values at the places given by: 
      (Line):(Column).
9                                        The SAS System         09:42 Wednesday, October 21, 2009

      278:44   
total=CDISC01.100008+1+SCREEN
total=CDISC01.100008+10+WEEK 24
NOTE: There were 2 observations read from the data set WORK.LB.
NOTE: The data set WORK.LB has 2 observations and 1 variables.
NOTE: DATA statement used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds
      

282        data sv;
283        attrib total length=$100;
284        set templib.SV;
285        total = trim(left(usubjid))||'+'||compress(visitnum)||'+'||trim(left(visit));
286        put total=;
287        keep total;
288        run;

NOTE: Numeric values have been converted to character values at the places given by: 
      (Line):(Column).
      285:44   
total=101+1+SCREEN
total=101+2+DAY 1
total=101+3+WEEK 1
total=101+4+WEEK 2
total=101+8+FOLLOW-UP
NOTE: There were 5 observations read from the data set TEMPLIB.SV.
NOTE: The data set WORK.SV has 5 observations and 1 variables.
NOTE: DATA statement used (Total process time):
      real time           0.03 seconds
      cpu time            0.01 seconds
      

NOTE: Table WORK._73 created, with 2 rows and 1 columns.

289                 proc sort data=cdisc nodupkey;
290                    by libname datname datlab variable length label type case comment;
291                 run;

NOTE: There were 16 observations read from the data set WORK.CDISC.
NOTE: 0 observations with duplicate key values were deleted.
NOTE: The data set WORK.CDISC has 16 observations and 11 variables.
NOTE: PROCEDURE SORT used (Total process time):
      real time           0.04 seconds
      cpu time            0.04 seconds
      

292              proc sort data = work.cdisc;
293                 by libname datname datlab variable case;
294              run;

NOTE: There were 16 observations read from the data set WORK.CDISC.
NOTE: The data set WORK.CDISC has 16 observations and 11 variables.
10                                       The SAS System         09:42 Wednesday, October 21, 2009

NOTE: PROCEDURE SORT used (Total process time):
      real time           0.04 seconds
      cpu time            0.04 seconds
      

295        
296              proc format;
297                 *** Generate the comments for the CDISC evaluation case number ***;
298                 value $casefmt
299                 '1' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#1">1</a>'
300                 '2' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#2">2</a>'
301                 '3' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#3">3</a>'
302                 '4' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#4">4</a>'
303                 '5' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#5">5</a>'
304                 '6' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#6">6</a>'
305                 '7' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#7">7</a>'
306                 '8' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#8">8</a>'
307                 '9' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#9">9</a>'
308                 '10' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#10">10</a>'
309                 '11' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#11">11</a>'
310                 '12' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#12">12</a>'
311                 '13' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#13">13</a>'
312                 '14' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#14">14</a>'
313                 '15' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#15">15</a>'
314                 '16' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#16">16</a>'
315                 '17' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#17">17</a>'
316                 '18' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#18">18</a>'
317                 '19' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#19">19</a>'
318                 '20' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#20">20</a>'
319                 '21' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#21">21</a>'
320                 '22' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#22">22</a>'
321                 '23' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#23">23</a>'
322                 '24' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#24">24</a>'
323                 '25' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#25">25</a>'
324                 '26' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#26">26</a>'
325                 '27' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#27">27</a>'
326                 '28' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#28">28</a>'
327                 '29' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#29">29</a>'
328                 '30' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#30">30</a>'
329                 '31' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#31">31</a>'
330                 '32' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#32">32</a>'
331                 '33' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#33">33</a>'
332                 '34' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#34">34</a>'
333                 '35' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#35">35</a>'
334                 '36' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#36">36</a>'
335                 '37' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#37">37</a>'
336                 '38' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#38">38</a>'
337                 '39' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#39">39</a>'
338                 '40' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#40">40</a>'
339                 '41' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#41">41</a>'
340                 '42' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#42">42</a>'
341                 '43' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#43">43</a>'
342                 '44' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#44">44</a>'
11                                       The SAS System         09:42 Wednesday, October 21, 2009

343                 '45' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#45">45</a>'
344                 '46' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#46">46</a>'
345                 '47' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#47">47</a>'
346                 '48' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#48">48</a>'
347                 '49' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#49">49</a>'
348                 '50' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#50">50</a>'
349                 '51' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#51">51</a>'
350                 '52' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#52">52</a>'
351                 '53' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#53">53</a>'
352                 '54' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#54">54</a>'
353                 '55' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#55">55</a>'
354                 '56' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#56">56</a>'
355                 '57' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#57">57</a>'
356                 '58' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#58">58</a>'
357                 '59' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#59">59</a>'
358                 '60' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#60">60</a>'
359                 '61' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#61">61</a>'
360                 '62' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#62">62</a>'
361                 '63' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#63">63</a>'
362                 '64' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#64">64</a>'
363                 '65' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#65">65</a>'
364                 '66' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#66">66</a>'
365                 '67' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#67">67</a>'
366                 '68' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#68">68</a>'
367                 '69' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#69">69</a>'
368                 '70' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#70">70</a>'
369                 '71' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#71">71</a>'
370                 '72' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#72">72</a>'
371                 '73' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#73">73</a>'
372                 '74' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#74">74</a>'
373                 '75' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#75">75</a>'
374                 '76' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#76">76</a>'
375                 '77' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#77">77</a>'
376                 '78' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#78">78</a>'
377                 '79' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#79">79</a>'
378                 '80' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#80">80</a>'
379                 '81' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#81">81</a>'
380                 '82' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#82">82</a>'
381                 '83' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#83">83</a>'
382                 '84' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#84">84</a>'
383                 '85' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#85">85</a>'
384                 '86' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#86">86</a>'
385                 '87' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#87">87</a>'
386                 '88' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#88">88</a>'
387                 '89' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#89">89</a>'
388                 '90' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#90">90</a>'
389                 '91' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#91">91</a>'
390                 '92' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#92">92</a>'
391                 '93' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#93">93</a>'
392                 '94' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#94">94</a>'
393                 '95' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#95">95</a>'
394                 '96' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#96">96</a>'
395                 '97' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#97">97</a>'
12                                       The SAS System         09:42 Wednesday, October 21, 2009

396                 '98' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#98">98</a>'
397                 '99' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#99">99</a>'
398                 '100' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#100">100</a>'
399                 '101' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#101">101</a>'
400                 '102' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#102">102</a>'
401                 '103' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#103">103</a>'
402                 '104' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#104">104</a>'
403                 '105' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#105">105</a>'
404                 '106' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#106">106</a>'
405                 '107' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#107">107</a>'
406                 '108' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#108">108</a>'
407                 '109' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#109">109</a>'
408                 '110' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#110">110</a>'
409                 '111' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#111">111</a>'
410                 '112' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#112">112</a>'
411                 '113' = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#113">113</a>';
NOTE: Format $CASEFMT has been output.
412        
413        
414        
415                 *** Generate the format for the bookmark of variables ***;
416                 value $bookfmt
417                 "lb.studyid" = '<a name="lb.studyid">lb.studyid</a>'
418                 "lb.domain" = '<a name="lb.domain">lb.domain</a>'
419                 "lb.usubjid" = '<a name="lb.usubjid">lb.usubjid</a>'
420                 "lb.lbseq" = '<a name="lb.lbseq">lb.lbseq</a>'
421                 "lb.lbrefid" = '<a name="lb.lbrefid">lb.lbrefid</a>'
422                 "lb.lbtestcd" = '<a name="lb.lbtestcd">lb.lbtestcd</a>'
423                 "lb.lbtest" = '<a name="lb.lbtest">lb.lbtest</a>'
424                 "lb.lbcat" = '<a name="lb.lbcat">lb.lbcat</a>'
425                 "lb.lbfast" = '<a name="lb.lbfast">lb.lbfast</a>'
426                 "lb.visitnum" = '<a name="lb.visitnum">lb.visitnum</a>'
427                 "lb.visit" = '<a name="lb.visit">lb.visit</a>'
428                 "lb.visitdy" = '<a name="lb.visitdy">lb.visitdy</a>'
429                 "lb.lbdtc" = '<a name="lb.lbdtc">lb.lbdtc</a>'
430                 "lb.lbdy" = '<a name="lb.lbdy">lb.lbdy</a>'
431                 "lb.lbendtc" = '<a name="lb.lbendtc">lb.lbendtc</a>'
432                 ;
NOTE: Format $BOOKFMT has been output.
433        
434                 *** Generate the format for dataset linking ***;
435                 value $datfmt
436                 "ae" = '<a name="ae">ae</a><br>'
437                 "ae3a" = '<a name="ae3a">ae3a</a><br>'
438                 "cdisc10" = '<a name="cdisc10">cdisc10</a><br>'
439                 "cdisc11" = '<a name="cdisc11">cdisc11</a><br>'
440                 "cdisc14" = '<a name="cdisc14">cdisc14</a><br>'
441                 "cdisc15" = '<a name="cdisc15">cdisc15</a><br>'
442                 "cdisc18" = '<a name="cdisc18">cdisc18</a><br>'
443                 "cdisc2" = '<a name="cdisc2">cdisc2</a><br>'
444                 "cdisc21" = '<a name="cdisc21">cdisc21</a><br>'
445                 "cdisc2b_1" = '<a name="cdisc2b_1">cdisc2b_1</a><br>'
446                 "cdisc2b_2" = '<a name="cdisc2b_2">cdisc2b_2</a><br>'
13                                       The SAS System         09:42 Wednesday, October 21, 2009

447                 "cdisc2b_3" = '<a name="cdisc2b_3">cdisc2b_3</a><br>'
448                 "cdisc2_b" = '<a name="cdisc2_b">cdisc2_b</a><br>'
449                 "cdisc2_c" = '<a name="cdisc2_c">cdisc2_c</a><br>'
450                 "cdisc4" = '<a name="cdisc4">cdisc4</a><br>'
451                 "cdisc5" = '<a name="cdisc5">cdisc5</a><br>'
452                 "cdisc6" = '<a name="cdisc6">cdisc6</a><br>'
453                 "cdisc7" = '<a name="cdisc7">cdisc7</a><br>'
454                 "cdisc8" = '<a name="cdisc8">cdisc8</a><br>'
455                 "cdisc9" = '<a name="cdisc9">cdisc9</a><br>'
456                 "ce" = '<a name="ce">ce</a><br>'
457                 "cm" = '<a name="cm">cm</a><br>'
458                 "co" = '<a name="co">co</a><br>'
459                 "da" = '<a name="da">da</a><br>'
460                 "dm" = '<a name="dm">dm</a><br>'
461                 "ds" = '<a name="ds">ds</a><br>'
462                 "dv" = '<a name="dv">dv</a><br>'
463                 "eg" = '<a name="eg">eg</a><br>'
464                 "ex" = '<a name="ex">ex</a><br>'
465                 "fa" = '<a name="fa">fa</a><br>'
466                 "ie" = '<a name="ie">ie</a><br>'
467                 "lb" = '<a name="lb">lb</a><br>'
468                 "mb" = '<a name="mb">mb</a><br>'
469                 "mh" = '<a name="mh">mh</a><br>'
470                 "ms" = '<a name="ms">ms</a><br>'
471                 "notdm" = '<a name="notdm">notdm</a><br>'
472                 "pc" = '<a name="pc">pc</a><br>'
473                 "pe" = '<a name="pe">pe</a><br>'
474                 "pp" = '<a name="pp">pp</a><br>'
475                 "qs" = '<a name="qs">qs</a><br>'
476                 "relrec" = '<a name="relrec">relrec</a><br>'
477                 "sc" = '<a name="sc">sc</a><br>'
478                 "se" = '<a name="se">se</a><br>'
479                 "su" = '<a name="su">su</a><br>'
480                 "supmh" = '<a name="supmh">supmh</a><br>'
481                 "suppae" = '<a name="suppae">suppae</a><br>'
482                 "suppp" = '<a name="suppp">suppp</a><br>'
483                 "supte" = '<a name="supte">supte</a><br>'
484                 "supvs" = '<a name="supvs">supvs</a><br>'
485                 "sv" = '<a name="sv">sv</a><br>'
486                 "ta" = '<a name="ta">ta</a><br>'
487                 "te" = '<a name="te">te</a><br>'
488                 "ti" = '<a name="ti">ti</a><br>'
489                 "ts" = '<a name="ts">ts</a><br>'
490                 "tv" = '<a name="tv">tv</a><br>'
491                 "vs" = '<a name="vs">vs</a><br>'
492                 ;
NOTE: Format $DATFMT has been output.
493              run;

NOTE: PROCEDURE FORMAT used (Total process time):
      real time           0.06 seconds
      cpu time            0.01 seconds
      
14                                       The SAS System         09:42 Wednesday, October 21, 2009


494        
495              data work.cdisc;
496                 set work.cdisc;
497                 by libname datname datlab variable case;
498        
499                 attrib datvar label="Dataset and Variable" length=$100 format=$bookfmt.;
500                 if variable ne '' then
501                 datvar = compress(lowcase(datname) || "." || lowcase(variable));
502                 else datvar = lowcase(datname);
503                 /*format case casefmt.;*/
504                 attrib charcase label = "Case Number" length = $10;
505                 charcase = trim(left(put(case, best.)));
506                 format charcase $casefmt.;
507                 *format datname $datfmt.;
508              run;

NOTE: There were 16 observations read from the data set WORK.CDISC.
NOTE: The data set WORK.CDISC has 16 observations and 13 variables.
NOTE: DATA statement used (Total process time):
      real time           0.04 seconds
      cpu time            0.01 seconds
      

509        
510              *** Remove The Special Characters ******;
511              proc template;
512                 define style styles.test/store=work.test;
513                 parent=styles.default;
514                 style byline from titlesandfooters /
515                    protectspecialchars=off;
516                 end;
NOTE: STYLE 'Styles.Test' has been saved to: WORK.TEST
517              run;
NOTE: PROCEDURE TEMPLATE used (Total process time):
      real time           0.06 seconds
      cpu time            0.03 seconds
      

518        
519              proc sort data = work.cdisc;
520                 by libname datname datlab variable case;
521              run;

NOTE: There were 16 observations read from the data set WORK.CDISC.
NOTE: The data set WORK.CDISC has 16 observations and 13 variables.
NOTE: PROCEDURE SORT used (Total process time):
      real time           0.04 seconds
      cpu time            0.04 seconds
      

522        
523              ods listing close;
15                                       The SAS System         09:42 Wednesday, October 21, 2009

524              ods html file='cdisc52.html' style=styles.mxistyle;
NOTE: Writing HTML Body file: cdisc52.html
525              data work.lb (drop=usrname datetime);
526                 set work.cdisc;
527                 where lowcase(datname)=lowcase("lb");
528              run;

NOTE: There were 16 observations read from the data set WORK.CDISC.
      WHERE LOWCASE(datname)='lb';
NOTE: The data set WORK.LB has 16 observations and 11 variables.
NOTE: DATA statement used (Total process time):
      real time           0.03 seconds
      cpu time            0.03 seconds
      

529                       data lb(drop=xxx);
530                          set lb;
531                          retain xxx 0;
532                          if xxx = 2 then xxx = 1;
533                          else xxx = xxx + 1;
534                          yyy = compress(put(xxx,best.));
535                       run;

NOTE: There were 16 observations read from the data set WORK.LB.
NOTE: The data set WORK.LB has 16 observations and 12 variables.
NOTE: DATA statement used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds
      

536        
537              %let newlab = %nrbquote();
538              title1 height=2 '<a name="lb"> Findings from CDISC Evaluation</a>';
539              title2 height=2 "Data Table Name = lb Data Table Label=&newlab";
540              footnote1 height=2 "Generated on: 10/21/2009,  9:42:17 am, Administrator";
541              footnote2 height=2 "Located at: C:\apache\htdocs\cdiscbuilder\data";
542               proc report data = work.lb nowindows;
543                    column obs libname datvar label type length charcase comment yyy;
544                       define obs/computed 'Obs';
545                       define libname/width=20;
546                       define datvar/width=50;
547                       define label/width=50;
548                       define type/width=20;
549                       define length/width=50;
550                       define comment/width=50;
551                       define charcase/width=50;
552                       define yyy/ noprint;
553        
554                    compute yyy;
555                       if yyy = "2" then do;
556                          call define (_row_,'style','STYLE=[BACKGROUND=cxFFFFCC]');
557                       end;
558                    endcompute;
16                                       The SAS System         09:42 Wednesday, October 21, 2009

559        
560                    compute charcase;
561                       if charcase='1' then call define
561      ! ('charcase','style','STYLE=[BACKGROUND=CXccffcc JUST=CENTER]');
562                       if charcase='2' then call define
562      ! ('charcase','style','STYLE=[BACKGROUND=CXcd0030 JUST=CENTER]');
563                       if charcase='3' then call define
563      ! ('charcase','style','STYLE=[BACKGROUND=CXcd0094 JUST=CENTER]');
564                       if charcase='4' then call define
564      ! ('charcase','style','STYLE=[BACKGROUND=CXcd00f8 JUST=CENTER]');
565                       if charcase='5' then call define
565      ! ('charcase','style','STYLE=[BACKGROUND=CXcd015c JUST=CENTER]');
566                       if charcase='6' then call define
566      ! ('charcase','style','STYLE=[BACKGROUND=CXcd01c0 JUST=CENTER]');
567                       if charcase='7' then call define
567      ! ('charcase','style','STYLE=[BACKGROUND=CXcd0224 JUST=CENTER]');
568                       if charcase='8' then call define
568      ! ('charcase','style','STYLE=[BACKGROUND=CXcd0288 JUST=CENTER]');
569                       if charcase='9' then call define
569      ! ('charcase','style','STYLE=[BACKGROUND=CXcd02ec JUST=CENTER]');
570                       if charcase='10' then call define
570      ! ('charcase','style','STYLE=[BACKGROUND=CXcd0350 JUST=CENTER]');
571                       if charcase='11' then call define
571      ! ('charcase','style','STYLE=[BACKGROUND=CXcd03b4 JUST=CENTER]');
572                       if charcase='12' then call define
572      ! ('charcase','style','STYLE=[BACKGROUND=CXcd0418 JUST=CENTER]');
573                       if charcase='13' then call define
573      ! ('charcase','style','STYLE=[BACKGROUND=CXcd047c JUST=CENTER]');
574                       if charcase='14' then call define
574      ! ('charcase','style','STYLE=[BACKGROUND=CXcd04e0 JUST=CENTER]');
575                       if charcase='15' then call define
575      ! ('charcase','style','STYLE=[BACKGROUND=CXcd0544 JUST=CENTER]');
576                       if charcase='16' then call define
576      ! ('charcase','style','STYLE=[BACKGROUND=CXcd05a8 JUST=CENTER]');
577                       if charcase='17' then call define
577      ! ('charcase','style','STYLE=[BACKGROUND=CXcd060c JUST=CENTER]');
578                       if charcase='18' then call define
578      ! ('charcase','style','STYLE=[BACKGROUND=CXcd0670 JUST=CENTER]');
579                       if charcase='19' then call define
579      ! ('charcase','style','STYLE=[BACKGROUND=CXcd06d4 JUST=CENTER]');
580                       if charcase='20' then call define
580      ! ('charcase','style','STYLE=[BACKGROUND=CXffffcc JUST=CENTER]');
581                       if charcase='21' then call define
581      ! ('charcase','style','STYLE=[BACKGROUND=CX398C54 JUST=CENTER]');
582                       if charcase='22' then call define
582      ! ('charcase','style','STYLE=[BACKGROUND=CX398d1c JUST=CENTER]');
583                       if charcase='23' then call define
583      ! ('charcase','style','STYLE=[BACKGROUND=CX398d80 JUST=CENTER]');
584                       if charcase='24' then call define
584      ! ('charcase','style','STYLE=[BACKGROUND=CX398de4 JUST=CENTER]');
585                       if charcase='25' then call define
585      ! ('charcase','style','STYLE=[BACKGROUND=CX398e48 JUST=CENTER]');
586                       if charcase='26' then call define
17                                       The SAS System         09:42 Wednesday, October 21, 2009

586      ! ('charcase','style','STYLE=[BACKGROUND=CX398eac JUST=CENTER]');
587                       if charcase='27' then call define
587      ! ('charcase','style','STYLE=[BACKGROUND=CX398f10 JUST=CENTER]');
588                       if charcase='28' then call define
588      ! ('charcase','style','STYLE=[BACKGROUND=CX398f74 JUST=CENTER]');
589                       if charcase='29' then call define
589      ! ('charcase','style','STYLE=[BACKGROUND=CX398fd8 JUST=CENTER]');
590                       if charcase='30' then call define
590      ! ('charcase','style','STYLE=[BACKGROUND=CX39903c JUST=CENTER]');
591                       if charcase='31' then call define
591      ! ('charcase','style','STYLE=[BACKGROUND=CX3990a0 JUST=CENTER]');
592                       if charcase='32' then call define
592      ! ('charcase','style','STYLE=[BACKGROUND=CX399104 JUST=CENTER]');
593                       if charcase='33' then call define
593      ! ('charcase','style','STYLE=[BACKGROUND=CX399168 JUST=CENTER]');
594                       if charcase='34' then call define
594      ! ('charcase','style','STYLE=[BACKGROUND=CX3991cc JUST=CENTER]');
595                       if charcase='35' then call define
595      ! ('charcase','style','STYLE=[BACKGROUND=CX399230 JUST=CENTER]');
596                       if charcase='36' then call define
596      ! ('charcase','style','STYLE=[BACKGROUND=CX399294 JUST=CENTER]');
597                       if charcase='37' then call define
597      ! ('charcase','style','STYLE=[BACKGROUND=CX3992f8 JUST=CENTER]');
598                       if charcase='38' then call define
598      ! ('charcase','style','STYLE=[BACKGROUND=CX39935c JUST=CENTER]');
599                       if charcase='39' then call define
599      ! ('charcase','style','STYLE=[BACKGROUND=CXffcccc JUST=CENTER]');
600                       if charcase='40' then call define
600      ! ('charcase','style','STYLE=[BACKGROUND=CXffcd30 JUST=CENTER]');
601                       if charcase='41' then call define
601      ! ('charcase','style','STYLE=[BACKGROUND=CXffcd94 JUST=CENTER]');
602                       if charcase='42' then call define
602      ! ('charcase','style','STYLE=[BACKGROUND=CXffcdf8 JUST=CENTER]');
603                       if charcase='43' then call define
603      ! ('charcase','style','STYLE=[BACKGROUND=CXffce5c JUST=CENTER]');
604                       if charcase='44' then call define
604      ! ('charcase','style','STYLE=[BACKGROUND=CXffcec0 JUST=CENTER]');
605                       if charcase='45' then call define
605      ! ('charcase','style','STYLE=[BACKGROUND=CXffcf24 JUST=CENTER]');
606                       if charcase='46' then call define
606      ! ('charcase','style','STYLE=[BACKGROUND=CXffcf88 JUST=CENTER]');
607                       if charcase='47' then call define
607      ! ('charcase','style','STYLE=[BACKGROUND=CXffcfec JUST=CENTER]');
608                       if charcase='48' then call define
608      ! ('charcase','style','STYLE=[BACKGROUND=CXffd050 JUST=CENTER]');
609                       if charcase='49' then call define
609      ! ('charcase','style','STYLE=[BACKGROUND=CXffd0b4 JUST=CENTER]');
610                       if charcase='50' then call define
610      ! ('charcase','style','STYLE=[BACKGROUND=CXffd118 JUST=CENTER]');
611                       if charcase='51' then call define
611      ! ('charcase','style','STYLE=[BACKGROUND=CXffd17c JUST=CENTER]');
612                       if charcase='52' then call define
612      ! ('charcase','style','STYLE=[BACKGROUND=CXffd1e0 JUST=CENTER]');
18                                       The SAS System         09:42 Wednesday, October 21, 2009

613                       if charcase='53' then call define
613      ! ('charcase','style','STYLE=[BACKGROUND=CXffd244 JUST=CENTER]');
614                       if charcase='54' then call define
614      ! ('charcase','style','STYLE=[BACKGROUND=CXffd2a8 JUST=CENTER]');
615                       if charcase='55' then call define
615      ! ('charcase','style','STYLE=[BACKGROUND=CXffd30c JUST=CENTER]');
616                       if charcase='56' then call define
616      ! ('charcase','style','STYLE=[BACKGROUND=CXffd370 JUST=CENTER]');
617                       if charcase='57' then call define
617      ! ('charcase','style','STYLE=[BACKGROUND=CXffd3d4 JUST=CENTER]');
618                       if charcase='58' then call define
618      ! ('charcase','style','STYLE=[BACKGROUND=CXccccff JUST=CENTER]');
619                       if charcase='59' then call define
619      ! ('charcase','style','STYLE=[BACKGROUND=CXcccd63 JUST=CENTER]');
620                       if charcase='60' then call define
620      ! ('charcase','style','STYLE=[BACKGROUND=CXcccdc7 JUST=CENTER]');
621                       if charcase='61' then call define
621      ! ('charcase','style','STYLE=[BACKGROUND=CXccce2b JUST=CENTER]');
622                       if charcase='62' then call define
622      ! ('charcase','style','STYLE=[BACKGROUND=CXccce8f JUST=CENTER]');
623                       if charcase='63' then call define
623      ! ('charcase','style','STYLE=[BACKGROUND=CXcccef3 JUST=CENTER]');
624                       if charcase='64' then call define
624      ! ('charcase','style','STYLE=[BACKGROUND=CXcccf57 JUST=CENTER]');
625                       if charcase='65' then call define
625      ! ('charcase','style','STYLE=[BACKGROUND=CXcccfbb JUST=CENTER]');
626                       if charcase='66' then call define
626      ! ('charcase','style','STYLE=[BACKGROUND=CXccd01f JUST=CENTER]');
627                       if charcase='67' then call define
627      ! ('charcase','style','STYLE=[BACKGROUND=CXccd083 JUST=CENTER]');
628                       if charcase='68' then call define
628      ! ('charcase','style','STYLE=[BACKGROUND=CXccd0e7 JUST=CENTER]');
629                       if charcase='69' then call define
629      ! ('charcase','style','STYLE=[BACKGROUND=CXccd14b JUST=CENTER]');
630                       if charcase='70' then call define
630      ! ('charcase','style','STYLE=[BACKGROUND=CXccd1af JUST=CENTER]');
631                       if charcase='71' then call define
631      ! ('charcase','style','STYLE=[BACKGROUND=CXccd213 JUST=CENTER]');
632                       if charcase='72' then call define
632      ! ('charcase','style','STYLE=[BACKGROUND=CXccd277 JUST=CENTER]');
633                       if charcase='73' then call define
633      ! ('charcase','style','STYLE=[BACKGROUND=CXccd2db JUST=CENTER]');
634                       if charcase='74' then call define
634      ! ('charcase','style','STYLE=[BACKGROUND=CXccd33f JUST=CENTER]');
635                       if charcase='75' then call define
635      ! ('charcase','style','STYLE=[BACKGROUND=CXccd3a3 JUST=CENTER]');
636                       if charcase='76' then call define
636      ! ('charcase','style','STYLE=[BACKGROUND=CXccd407 JUST=CENTER]');
637                       if charcase='77' then call define
637      ! ('charcase','style','STYLE=[BACKGROUND=CX99ccff JUST=CENTER]');
638                       if charcase='78' then call define
638      ! ('charcase','style','STYLE=[BACKGROUND=CX99cd63 JUST=CENTER]');
639                       if charcase='79' then call define
19                                       The SAS System         09:42 Wednesday, October 21, 2009

639      ! ('charcase','style','STYLE=[BACKGROUND=CX99cdc7 JUST=CENTER]');
640                       if charcase='80' then call define
640      ! ('charcase','style','STYLE=[BACKGROUND=CX99ce2b JUST=CENTER]');
641                       if charcase='81' then call define
641      ! ('charcase','style','STYLE=[BACKGROUND=CX99ce8f JUST=CENTER]');
642                       if charcase='82' then call define
642      ! ('charcase','style','STYLE=[BACKGROUND=CX99cef3 JUST=CENTER]');
643                       if charcase='83' then call define
643      ! ('charcase','style','STYLE=[BACKGROUND=CX99cf57 JUST=CENTER]');
644                       if charcase='84' then call define
644      ! ('charcase','style','STYLE=[BACKGROUND=CX99cfbb JUST=CENTER]');
645                       if charcase='85' then call define
645      ! ('charcase','style','STYLE=[BACKGROUND=CX99d01f JUST=CENTER]');
646                       if charcase='86' then call define
646      ! ('charcase','style','STYLE=[BACKGROUND=CX99d083 JUST=CENTER]');
647                       if charcase='87' then call define
647      ! ('charcase','style','STYLE=[BACKGROUND=CX99d0e7 JUST=CENTER]');
648                       if charcase='88' then call define
648      ! ('charcase','style','STYLE=[BACKGROUND=CX99d14b JUST=CENTER]');
649                       if charcase='89' then call define
649      ! ('charcase','style','STYLE=[BACKGROUND=CX99d1af JUST=CENTER]');
650                       if charcase='90' then call define
650      ! ('charcase','style','STYLE=[BACKGROUND=CX99d213 JUST=CENTER]');
651                       if charcase='91' then call define
651      ! ('charcase','style','STYLE=[BACKGROUND=CX99d277 JUST=CENTER]');
652                       if charcase='92' then call define
652      ! ('charcase','style','STYLE=[BACKGROUND=CX99d2db JUST=CENTER]');
653                       if charcase='93' then call define
653      ! ('charcase','style','STYLE=[BACKGROUND=CX99d33f JUST=CENTER]');
654                       if charcase='94' then call define
654      ! ('charcase','style','STYLE=[BACKGROUND=CX99d3a3 JUST=CENTER]');
655                       if charcase='95' then call define
655      ! ('charcase','style','STYLE=[BACKGROUND=CX99d407 JUST=CENTER]');
656                       if charcase='96' then call define
656      ! ('charcase','style','STYLE=[BACKGROUND=CXffcc99 JUST=CENTER]');
657                       if charcase='97' then call define
657      ! ('charcase','style','STYLE=[BACKGROUND=CXffccfd JUST=CENTER]');
658                       if charcase='98' then call define
658      ! ('charcase','style','STYLE=[BACKGROUND=CXffcd61 JUST=CENTER]');
659                       if charcase='99' then call define
659      ! ('charcase','style','STYLE=[BACKGROUND=CXffcdc5 JUST=CENTER]');
660                       if charcase='100' then call define
660      ! ('charcase','style','STYLE=[BACKGROUND=CXffce29 JUST=CENTER]');
661                       if charcase='101' then call define
661      ! ('charcase','style','STYLE=[BACKGROUND=CXffce8d JUST=CENTER]');
662                       if charcase='102' then call define
662      ! ('charcase','style','STYLE=[BACKGROUND=CXffcef1 JUST=CENTER]');
663                       if charcase='103' then call define
663      ! ('charcase','style','STYLE=[BACKGROUND=CXffcf55 JUST=CENTER]');
664                       if charcase='104' then call define
664      ! ('charcase','style','STYLE=[BACKGROUND=CXffcfb9 JUST=CENTER]');
665                       if charcase='105' then call define
665      ! ('charcase','style','STYLE=[BACKGROUND=CXffd01d JUST=CENTER]');
20                                       The SAS System         09:42 Wednesday, October 21, 2009

666                       if charcase='106' then call define
666      ! ('charcase','style','STYLE=[BACKGROUND=CXffd081 JUST=CENTER]');
667                       if charcase='107' then call define
667      ! ('charcase','style','STYLE=[BACKGROUND=CXffd0e5 JUST=CENTER]');
668                       if charcase='108' then call define
668      ! ('charcase','style','STYLE=[BACKGROUND=CXffd149 JUST=CENTER]');
669                       if charcase='109' then call define
669      ! ('charcase','style','STYLE=[BACKGROUND=CXffd1ad JUST=CENTER]');
670                       if charcase='110' then call define
670      ! ('charcase','style','STYLE=[BACKGROUND=CXffd211 JUST=CENTER]');
671                       if charcase='111' then call define
671      ! ('charcase','style','STYLE=[BACKGROUND=CXffd275 JUST=CENTER]');
672                       if charcase='112' then call define
672      ! ('charcase','style','STYLE=[BACKGROUND=CXffd2d9 JUST=CENTER]');
673                       if charcase='113' then call define
673      ! ('charcase','style','STYLE=[BACKGROUND=CXffd33d JUST=CENTER]');
674                    endcomp;
675        
676                    compute obs;
677                       dobs + 1;
678                       obs = dobs;
679                    endcompute;
680                 run;

NOTE: There were 16 observations read from the data set WORK.LB.
NOTE: PROCEDURE REPORT used (Total process time):
      real time           0.13 seconds
      cpu time            0.06 seconds
      

681              run;
682              ods html close;
683              ods listing;
NOTE: PROCEDURE DISPLAY used (Total process time):
      real time           4.04 seconds
      cpu time            3.54 seconds
      


NOTE: SAS Institute Inc., SAS Campus Drive, Cary, NC USA 27513-2414
NOTE: The SAS System used:
      real time           6.37 seconds
      cpu time            5.96 seconds
      
