1                                                          The SAS System                              15:08 Monday, August 15, 2005

NOTE: Unable to open SASUSER.REGSTRY. WORK.REGSTRY will be opened instead.
NOTE: All registry changes will be lost at the end of the session.

WARNING: Unable to copy SASUSER registry to WORK registry. Because of this, you will not see registry customizations during this 
         session.
NOTE: Unable to open SASUSER.PROFILE. WORK.PROFILE will be opened instead.
NOTE: All profile changes will be lost at the end of the session.
NOTE: Copyright (c) 2002-2003 by SAS Institute Inc., Cary, NC, USA. 
NOTE: SAS (r) 9.1 (TS1M3)
      Licensed to META-XCEED INC, Site 0035729001.
NOTE: This session is executing on the XP_HOME  platform.



NOTE: SAS initialization used:
      real time           0.73 seconds
      cpu time            0.59 seconds
      

NOTE: AUTOEXEC processing beginning; file is C:\test\cdisc_test\testing\saspgm\autoexec.sas.


NOTE: AUTOEXEC processing completed.

1          /*------------------------------------------------------------*
2          * program:     cdisc14.sas                                    *
3          * Description: Verify abbreviations of case #12               *
4          * By:          Sy Truong, 9/19/2003                           *
5          *-------------------------------------------------------------*/
6          
7          libname templib '../data';
NOTE: Libref TEMPLIB was successfully assigned as follows: 
      Engine:        V9 
      Physical Name: C:\test\cdisc_test\testing\data
8          ***%include "cdisc.sas";
9          
10         *** Create some data to be selected ***;
11         data templib.cdisc14 (label="Does Not Match");;
12            attrib lb length=8 label="Labs";
13            attrib wrong1 length=$8 label="Adverse Events";
14            attrib wrong2 length=$8 label="Medical History";
15            attrib wrong3 length=$8 label="Baseline";
16            attrib wrong4 length=$8 label="Birth";
17            attrib wrong5 length=$8 label="Class";
18            attrib wrong6 length=$8 label="Code";
19            attrib wrong7 length=$8 label="Concomitant Medications";
20            attrib wrong8 length=$8 label="Date";
21            attrib wrong9 length=$8 label="Day";
22            attrib wrong10 length=$8 label="Demographics Domain Model";
23            attrib wrong11 length=$8 label="Disposition";
24            attrib wrong12 length=$8 label="Dose";
2                                       The SAS System            15:08 Monday, August 15, 2005

25            attrib wrong13 length=$8 label="Duration";
26            attrib wrong14 length=$8 label="ECG Test Results";
27            attrib wrong15 length=$8 label="Evaluator";
28            attrib wrong16 length=$8 label="Exposure";
29            attrib wrong17 length=$8 label="Flag";
30            attrib wrong18 length=$8 label="Form";
31            attrib wrong19 length=$8 label="Frequency";
32            attrib wrong20 length=$8 label="Grade";
33            attrib wrong21 length=$8 label="Hospital";
34            attrib wrong22 length=$8 label="Identifier";
35            attrib wrong23 length=$8 label="Inclusion/Exclusion Exceptions";
36            attrib wrong24 length=$8 label="Indication";
37            attrib wrong25 length=$8 label="Indicator";
38            attrib wrong26 length=$8 label="Investigator";
39            attrib wrong27 length=$8 label="Labs";
40            attrib wrong28 length=$8 label="Location";
41            attrib wrong39 length=$8 label="Lower";
42            attrib wrong30 length=$8 label="Medical History";
43            attrib wrong31 length=$8 label="Number";
44            attrib wrong32 length=$8 label="Occurrence";
45            attrib wrong33 length=$8 label="Order";
46            attrib wrong34 length=$8 label="Original";
47            attrib wrong35 length=$8 label="Physical Examinations";
48            attrib wrong36 length=$8 label="Point";
49            attrib wrong37 length=$8 label="Position";
50            attrib wrong38 length=$8 label="Reason";
51            attrib wrong39 length=$8 label="Reference";
52            attrib wrong40 length=$8 label="Regimen";
53            attrib wrong41 length=$8 label="Related";
54            attrib wrong42 length=$8 label="Relationship";
55            attrib wrong43 length=$8 label="Rule";
56            attrib wrong44 length=$8 label="Status";
57            attrib wrong45 length=$8 label="Subcategory";
58            attrib wrong46 length=$8 label="Subject";
59            attrib wrong47 length=$8 label="Subject Characteristics";
60            attrib wrong48 length=$8 label="Substance Use";
61            attrib wrong49 length=$8 label="Text";
62            attrib wrong50 length=$8 label="Time";
63            attrib wrong51 length=$8 label="Total";
64            attrib wrong52 length=$8 label="Toxicity";
65            attrib wrong53 length=$8 label="Transition";
66            attrib wrong54 length=$8 label="Treatment";
67            attrib wrong55 length=$8 label="Treatment or Exposure";
68            attrib wrong56 length=$8 label="Unique";
69            attrib wrong57 length=$8 label="Units";
70            attrib wrong58 length=$8 label="Unplanned";
71            attrib wrong59 length=$8 label="Upper";
72            attrib wrong60 length=$8 label="Value";
73            attrib wrong61 length=$8 label="Variable";
74            attrib wrong62 length=$8 label="Vital Signs";
75         
3                                       The SAS System            15:08 Monday, August 15, 2005

76         run;

NOTE: Variable lb is uninitialized.
NOTE: Variable wrong1 is uninitialized.
NOTE: Variable wrong2 is uninitialized.
NOTE: Variable wrong3 is uninitialized.
NOTE: Variable wrong4 is uninitialized.
NOTE: Variable wrong5 is uninitialized.
NOTE: Variable wrong6 is uninitialized.
NOTE: Variable wrong7 is uninitialized.
NOTE: Variable wrong8 is uninitialized.
NOTE: Variable wrong9 is uninitialized.
NOTE: Variable wrong10 is uninitialized.
NOTE: Variable wrong11 is uninitialized.
NOTE: Variable wrong12 is uninitialized.
NOTE: Variable wrong13 is uninitialized.
NOTE: Variable wrong14 is uninitialized.
NOTE: Variable wrong15 is uninitialized.
NOTE: Variable wrong16 is uninitialized.
NOTE: Variable wrong17 is uninitialized.
NOTE: Variable wrong18 is uninitialized.
NOTE: Variable wrong19 is uninitialized.
NOTE: Variable wrong20 is uninitialized.
NOTE: Variable wrong21 is uninitialized.
NOTE: Variable wrong22 is uninitialized.
NOTE: Variable wrong23 is uninitialized.
NOTE: Variable wrong24 is uninitialized.
NOTE: Variable wrong25 is uninitialized.
NOTE: Variable wrong26 is uninitialized.
NOTE: Variable wrong27 is uninitialized.
NOTE: Variable wrong28 is uninitialized.
NOTE: Variable wrong39 is uninitialized.
NOTE: Variable wrong30 is uninitialized.
NOTE: Variable wrong31 is uninitialized.
NOTE: Variable wrong32 is uninitialized.
NOTE: Variable wrong33 is uninitialized.
NOTE: Variable wrong34 is uninitialized.
NOTE: Variable wrong35 is uninitialized.
NOTE: Variable wrong36 is uninitialized.
NOTE: Variable wrong37 is uninitialized.
NOTE: Variable wrong38 is uninitialized.
NOTE: Variable wrong40 is uninitialized.
NOTE: Variable wrong41 is uninitialized.
NOTE: Variable wrong42 is uninitialized.
NOTE: Variable wrong43 is uninitialized.
NOTE: Variable wrong44 is uninitialized.
NOTE: Variable wrong45 is uninitialized.
NOTE: Variable wrong46 is uninitialized.
NOTE: Variable wrong47 is uninitialized.
NOTE: Variable wrong48 is uninitialized.
NOTE: Variable wrong49 is uninitialized.
4                                       The SAS System            15:08 Monday, August 15, 2005

NOTE: Variable wrong50 is uninitialized.
NOTE: Variable wrong51 is uninitialized.
NOTE: Variable wrong52 is uninitialized.
NOTE: Variable wrong53 is uninitialized.
NOTE: Variable wrong54 is uninitialized.
NOTE: Variable wrong55 is uninitialized.
NOTE: Variable wrong56 is uninitialized.
NOTE: Variable wrong57 is uninitialized.
NOTE: Variable wrong58 is uninitialized.
NOTE: Variable wrong59 is uninitialized.
NOTE: Variable wrong60 is uninitialized.
NOTE: Variable wrong61 is uninitialized.
NOTE: Variable wrong62 is uninitialized.
NOTE: The data set TEMPLIB.CDISC14 has 1 observations and 62 variables.
NOTE: DATA statement used (Total process time):
      real time           0.09 seconds
      cpu time            0.07 seconds
      

77         
78         %cdisc(datlib=templib,datname=cdisc14);
NOTE: Libref _TEMPLIB was successfully assigned as follows: 
      Engine:        V8 
      Physical Name: C:\test\cdisc_test\testing\saspgm

79               proc sort data = work.cdisc;
80                  by libname datname datlab variable case;
81               run;

NOTE: There were 67 observations read from the data set WORK.CDISC.
NOTE: The data set WORK.CDISC has 67 observations and 11 variables.
NOTE: PROCEDURE SORT used (Total process time):
      real time           0.07 seconds
      cpu time            0.03 seconds
      

82         
83               proc format;
84                  *** Generate the comments for the CDISC evaluation case number ***;
85                  value casefmt
86                  1 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#1">1</a>'
87                  2 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#2">2</a>'
88                  3 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#3">3</a>'
89                  4 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#4">4</a>'
90                  5 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#5">5</a>'
91                  6 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#6">6</a>'
92                  7 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#7">7</a>'
93                  8 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#8">8</a>'
94                  9 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#9">9</a>'
95                  10 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#10">10</a>'
96                  11 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#11">11</a>'
5                                       The SAS System            15:08 Monday, August 15, 2005

97                  12 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#12">12</a>'
98                  13 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#13">13</a>'
99                  14 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#14">14</a>'
100                 15 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#15">15</a>'
101                 16 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#16">16</a>';
NOTE: Format CASEFMT has been output.
102        
103                 *** Generate the format for the bookmark of variables ***;
104                 value $bookfmt
105                 "cdisc14.lb" = '<a name="cdisc14.lb">cdisc14.lb</a>'
106                 "cdisc14.wrong1" = '<a name="cdisc14.wrong1">cdisc14.wrong1</a>'
107                 "cdisc14.wrong2" = '<a name="cdisc14.wrong2">cdisc14.wrong2</a>'
108                 "cdisc14.wrong3" = '<a name="cdisc14.wrong3">cdisc14.wrong3</a>'
109                 "cdisc14.wrong4" = '<a name="cdisc14.wrong4">cdisc14.wrong4</a>'
110                 "cdisc14.wrong5" = '<a name="cdisc14.wrong5">cdisc14.wrong5</a>'
111                 "cdisc14.wrong6" = '<a name="cdisc14.wrong6">cdisc14.wrong6</a>'
112                 "cdisc14.wrong7" = '<a name="cdisc14.wrong7">cdisc14.wrong7</a>'
113                 "cdisc14.wrong8" = '<a name="cdisc14.wrong8">cdisc14.wrong8</a>'
114                 "cdisc14.wrong9" = '<a name="cdisc14.wrong9">cdisc14.wrong9</a>'
115                 "cdisc14.wrong10" = '<a name="cdisc14.wrong10">cdisc14.wrong10</a>'
116                 "cdisc14.wrong11" = '<a name="cdisc14.wrong11">cdisc14.wrong11</a>'
117                 "cdisc14.wrong12" = '<a name="cdisc14.wrong12">cdisc14.wrong12</a>'
118                 "cdisc14.wrong13" = '<a name="cdisc14.wrong13">cdisc14.wrong13</a>'
119                 "cdisc14.wrong14" = '<a name="cdisc14.wrong14">cdisc14.wrong14</a>'
120                 "cdisc14.wrong15" = '<a name="cdisc14.wrong15">cdisc14.wrong15</a>'
121                 "cdisc14.wrong16" = '<a name="cdisc14.wrong16">cdisc14.wrong16</a>'
122                 "cdisc14.wrong17" = '<a name="cdisc14.wrong17">cdisc14.wrong17</a>'
123                 "cdisc14.wrong18" = '<a name="cdisc14.wrong18">cdisc14.wrong18</a>'
124                 "cdisc14.wrong19" = '<a name="cdisc14.wrong19">cdisc14.wrong19</a>'
125                 "cdisc14.wrong20" = '<a name="cdisc14.wrong20">cdisc14.wrong20</a>'
126                 "cdisc14.wrong21" = '<a name="cdisc14.wrong21">cdisc14.wrong21</a>'
127                 "cdisc14.wrong22" = '<a name="cdisc14.wrong22">cdisc14.wrong22</a>'
128                 "cdisc14.wrong23" = '<a name="cdisc14.wrong23">cdisc14.wrong23</a>'
129                 "cdisc14.wrong24" = '<a name="cdisc14.wrong24">cdisc14.wrong24</a>'
130                 "cdisc14.wrong25" = '<a name="cdisc14.wrong25">cdisc14.wrong25</a>'
131                 "cdisc14.wrong26" = '<a name="cdisc14.wrong26">cdisc14.wrong26</a>'
132                 "cdisc14.wrong27" = '<a name="cdisc14.wrong27">cdisc14.wrong27</a>'
133                 "cdisc14.wrong28" = '<a name="cdisc14.wrong28">cdisc14.wrong28</a>'
134                 "cdisc14.wrong39" = '<a name="cdisc14.wrong39">cdisc14.wrong39</a>'
135                 "cdisc14.wrong30" = '<a name="cdisc14.wrong30">cdisc14.wrong30</a>'
136                 "cdisc14.wrong31" = '<a name="cdisc14.wrong31">cdisc14.wrong31</a>'
137                 "cdisc14.wrong32" = '<a name="cdisc14.wrong32">cdisc14.wrong32</a>'
138                 "cdisc14.wrong33" = '<a name="cdisc14.wrong33">cdisc14.wrong33</a>'
139                 "cdisc14.wrong34" = '<a name="cdisc14.wrong34">cdisc14.wrong34</a>'
140                 "cdisc14.wrong35" = '<a name="cdisc14.wrong35">cdisc14.wrong35</a>'
141                 "cdisc14.wrong36" = '<a name="cdisc14.wrong36">cdisc14.wrong36</a>'
142                 "cdisc14.wrong37" = '<a name="cdisc14.wrong37">cdisc14.wrong37</a>'
143                 "cdisc14.wrong38" = '<a name="cdisc14.wrong38">cdisc14.wrong38</a>'
144                 "cdisc14.wrong40" = '<a name="cdisc14.wrong40">cdisc14.wrong40</a>'
145                 "cdisc14.wrong41" = '<a name="cdisc14.wrong41">cdisc14.wrong41</a>'
146                 "cdisc14.wrong42" = '<a name="cdisc14.wrong42">cdisc14.wrong42</a>'
6                                       The SAS System            15:08 Monday, August 15, 2005

147                 "cdisc14.wrong43" = '<a name="cdisc14.wrong43">cdisc14.wrong43</a>'
148                 "cdisc14.wrong44" = '<a name="cdisc14.wrong44">cdisc14.wrong44</a>'
149                 "cdisc14.wrong45" = '<a name="cdisc14.wrong45">cdisc14.wrong45</a>'
150                 "cdisc14.wrong46" = '<a name="cdisc14.wrong46">cdisc14.wrong46</a>'
151                 "cdisc14.wrong47" = '<a name="cdisc14.wrong47">cdisc14.wrong47</a>'
152                 "cdisc14.wrong48" = '<a name="cdisc14.wrong48">cdisc14.wrong48</a>'
153                 "cdisc14.wrong49" = '<a name="cdisc14.wrong49">cdisc14.wrong49</a>'
154                 "cdisc14.wrong50" = '<a name="cdisc14.wrong50">cdisc14.wrong50</a>'
155                 "cdisc14.wrong51" = '<a name="cdisc14.wrong51">cdisc14.wrong51</a>'
156                 "cdisc14.wrong52" = '<a name="cdisc14.wrong52">cdisc14.wrong52</a>'
157                 "cdisc14.wrong53" = '<a name="cdisc14.wrong53">cdisc14.wrong53</a>'
158                 "cdisc14.wrong54" = '<a name="cdisc14.wrong54">cdisc14.wrong54</a>'
159                 "cdisc14.wrong55" = '<a name="cdisc14.wrong55">cdisc14.wrong55</a>'
160                 "cdisc14.wrong56" = '<a name="cdisc14.wrong56">cdisc14.wrong56</a>'
161                 "cdisc14.wrong57" = '<a name="cdisc14.wrong57">cdisc14.wrong57</a>'
162                 "cdisc14.wrong58" = '<a name="cdisc14.wrong58">cdisc14.wrong58</a>'
163                 "cdisc14.wrong59" = '<a name="cdisc14.wrong59">cdisc14.wrong59</a>'
164                 "cdisc14.wrong60" = '<a name="cdisc14.wrong60">cdisc14.wrong60</a>'
165                 "cdisc14.wrong61" = '<a name="cdisc14.wrong61">cdisc14.wrong61</a>'
166                 "cdisc14.wrong62" = '<a name="cdisc14.wrong62">cdisc14.wrong62</a>'
167                 ;
NOTE: Format $BOOKFMT has been output.
168        
169                 *** Generate the format for dataset linking ***;
170                 value $datfmt
171                 "AE" = '<a name="AE">AE</a><br>'
172                 "AE1" = '<a name="AE1">AE1</a><br>'
173                 "AE2" = '<a name="AE2">AE2</a><br>'
174                 "AE3" = '<a name="AE3">AE3</a><br>'
175                 "AE3A" = '<a name="AE3A">AE3A</a><br>'
176                 "AETEST1" = '<a name="AETEST1">AETEST1</a><br>'
177                 "CDISC10" = '<a name="CDISC10">CDISC10</a><br>'
178                 "CDISC11" = '<a name="CDISC11">CDISC11</a><br>'
179                 "CDISC12A" = '<a name="CDISC12A">CDISC12A</a><br>'
180                 "CDISC13A" = '<a name="CDISC13A">CDISC13A</a><br>'
181                 "CDISC14" = '<a name="CDISC14">CDISC14</a><br>'
182                 "CDISC2" = '<a name="CDISC2">CDISC2</a><br>'
183                 "CDISC2_B" = '<a name="CDISC2_B">CDISC2_B</a><br>'
184                 "CDISC2_C" = '<a name="CDISC2_C">CDISC2_C</a><br>'
185                 "CDISC3A" = '<a name="CDISC3A">CDISC3A</a><br>'
186                 "CDISC3B" = '<a name="CDISC3B">CDISC3B</a><br>'
187                 "CDISC4" = '<a name="CDISC4">CDISC4</a><br>'
188                 "CDISC5" = '<a name="CDISC5">CDISC5</a><br>'
189                 "CDISC6" = '<a name="CDISC6">CDISC6</a><br>'
190                 "CDISC7" = '<a name="CDISC7">CDISC7</a><br>'
191                 "CDISC8" = '<a name="CDISC8">CDISC8</a><br>'
192                 "CDISC9" = '<a name="CDISC9">CDISC9</a><br>'
193                 "CM" = '<a name="CM">CM</a><br>'
194                 "DM" = '<a name="DM">DM</a><br>'
195                 "NOTDM" = '<a name="NOTDM">NOTDM</a><br>'
196                 "RELREC" = '<a name="RELREC">RELREC</a><br>'
7                                       The SAS System            15:08 Monday, August 15, 2005

197                 ;
NOTE: Format $DATFMT has been output.
198              run;

NOTE: PROCEDURE FORMAT used (Total process time):
      real time           0.07 seconds
      cpu time            0.01 seconds
      

199        
200              data work.cdisc;
201                 set work.cdisc;
202                 by libname datname datlab variable case;
203        
204                 attrib datvar label="Dataset and Variable" length=$100 format=$bookfmt.;
205        
206                 if variable ne '' then
207                 datvar = compress(lowcase(datname) || "." || lowcase(variable));
208                 else datvar = lowcase(datname);
209        
210                 format case casefmt.;
211                 format datname $datfmt.;
212              run;

NOTE: There were 67 observations read from the data set WORK.CDISC.
NOTE: The data set WORK.CDISC has 67 observations and 12 variables.
NOTE: DATA statement used (Total process time):
      real time           0.01 seconds
      cpu time            0.00 seconds
      

213        
214              *** Remove the special characters ***;
215              proc template;
216                 define style styles.test;
217                 parent=styles.default;
218                 style byline from titlesandfooters /
219                    protectspecialchars=off;
220                 end;
ERROR: Template 'Styles.Test' was unable to write to template store!ERROR: Template 'Styles.Test' was unable to write to template store!ERROR: Template 'Styles.Test' was unable to write to template store!
221              run;
NOTE: PROCEDURE TEMPLATE used (Total process time):
      real time           0.07 seconds
      cpu time            0.04 seconds
      

222        
223              proc sort data = work.cdisc;
224                 by libname datname datlab variable case;
225              run;

8                                       The SAS System            15:08 Monday, August 15, 2005

NOTE: There were 67 observations read from the data set WORK.CDISC.
NOTE: The data set WORK.CDISC has 67 observations and 12 variables.
NOTE: PROCEDURE SORT used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds
      

226        
227              ods listing close;
228              ods html3 file="cdisc14.html" style=styles.test;
NOTE: Writing HTML3 Body file: cdisc14.html
229              proc report data = work.cdisc (drop=usrname datetime) nowd
230                 style(header)=[font_size=2]
231                 style(column)=[font_size=2];
232              by datname datlab;
233              column libname datvar label type length case comment;
234        
235              title1 height=2 "--- Findings from CDISC Evaluation ---";
236              footnote1 height=2 "Generated on: 08/15/2005,  3:08:38 pm, Nguyen Thi Tra Nhi"
236      ! ;
237              footnote2 height=2 "Located at: C:\test\cdisc_test\testing\data";
238              format datname $datfmt.;
239              run;

NOTE: There were 67 observations read from the data set WORK.CDISC.
NOTE: PROCEDURE REPORT used (Total process time):
      real time           0.29 seconds
      cpu time            0.04 seconds
      

240              ods html3 close;
241              ods listing;
242        

NOTE: Unable to open SASUSER.PROFILE. WORK.PROFILE will be opened instead.
NOTE: All profile changes will be lost at the end of the session.

NOTE: PROCEDURE DISPLAY used (Total process time):
      real time           3.87 seconds
      cpu time            1.45 seconds
      


ERROR: Errors printed on page 7.ERROR: Errors printed on page 7.ERROR: Errors printed on page 7.

NOTE: SAS Institute Inc., SAS Campus Drive, Cary, NC USA 27513-2414
NOTE: The SAS System used:
      real time           4.79 seconds
      cpu time            2.15 seconds
      
