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