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