1                                                          The SAS System                              15:16 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.90 seconds
      cpu time            0.51 seconds
      

NOTE: AUTOEXEC processing beginning; file is C:\test\cdisc_test\testing\saspgm\autoexec.sas.


NOTE: AUTOEXEC processing completed.

1          /*------------------------------------------------------------*
2          * program:     cdisc18.sas                                    *
3          * Description: Verify the require fields of case #1           *
4          * By:          Anh Bui, 04/05/2005									*
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";
WARNING: Physical file does not exist, C:\test\cdisc_test\testing\saspgm\cdisc.sas.
ERROR: Cannot open %INCLUDE file cdisc.sas.ERROR: Cannot open %INCLUDE file cdisc.sas.ERROR: Cannot open %INCLUDE file cdisc.sas.
9          data templib.cdisc18 (label="Verify dataset labels and Variable Labels of Case #14")
9        ! ;	
10         	attriv            ______            ______            ______
            1            1            1
WARNING 1-322: Assuming the symbol ATTRIB was misspelled as attriv.

11         	var1 label="Variable 1" length=8
12            var2 label="variable 2" length=8
13         	var3 label="VarIabLe 3" length=8
14         	var4 label="VARIABLE 4" length=8
15         	var5 label="var5"			length=8
16         	var6 label="var 6" 		length=8
17         	var7 label="VAR 7"		length=8
18         	var8 label="VaR 8" 		length=8
2                                       The SAS System            15:16 Monday, August 15, 2005

19         	var9 label="var 0012001" length=8;
20         run;

NOTE: Variable var1 is uninitialized.
NOTE: Variable var2 is uninitialized.
NOTE: Variable var3 is uninitialized.
NOTE: Variable var4 is uninitialized.
NOTE: Variable var5 is uninitialized.
NOTE: Variable var6 is uninitialized.
NOTE: Variable var7 is uninitialized.
NOTE: Variable var8 is uninitialized.
NOTE: Variable var9 is uninitialized.
NOTE: The data set TEMPLIB.CDISC18 has 1 observations and 9 variables.
NOTE: DATA statement used (Total process time):
      real time           0.10 seconds
      cpu time            0.09 seconds
      

21         
22         %cdisc(datlib=templib,datname=cdisc18);
NOTE: Libref _TEMPLIB was successfully assigned as follows: 
      Engine:        V8 
      Physical Name: C:\test\cdisc_test\testing\saspgm

23               proc sort data = work.cdisc;
24                  by libname datname datlab variable case;
25               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.04 seconds
      cpu time            0.03 seconds
      

26         
27               proc format;
28                  *** Generate the comments for the CDISC evaluation case number ***;
29                  value casefmt
30                  1 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#1">1</a>'
31                  2 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#2">2</a>'
32                  3 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#3">3</a>'
33                  4 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#4">4</a>'
34                  5 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#5">5</a>'
35                  6 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#6">6</a>'
36                  7 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#7">7</a>'
37                  8 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#8">8</a>'
38                  9 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#9">9</a>'
39                  10 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#10">10</a>'
40                  11 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#11">11</a>'
41                  12 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#12">12</a>'
3                                       The SAS System            15:16 Monday, August 15, 2005

42                  13 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#13">13</a>'
43                  14 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#14">14</a>'
44                  15 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#15">15</a>'
45                  16 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#16">16</a>';
NOTE: Format CASEFMT has been output.
46         
47                  *** Generate the format for the bookmark of variables ***;
48                  value $bookfmt
49                  "cdisc18.var1" = '<a name="cdisc18.var1">cdisc18.var1</a>'
50                  "cdisc18.var2" = '<a name="cdisc18.var2">cdisc18.var2</a>'
51                  "cdisc18.var3" = '<a name="cdisc18.var3">cdisc18.var3</a>'
52                  "cdisc18.var4" = '<a name="cdisc18.var4">cdisc18.var4</a>'
53                  "cdisc18.var5" = '<a name="cdisc18.var5">cdisc18.var5</a>'
54                  "cdisc18.var6" = '<a name="cdisc18.var6">cdisc18.var6</a>'
55                  "cdisc18.var7" = '<a name="cdisc18.var7">cdisc18.var7</a>'
56                  "cdisc18.var8" = '<a name="cdisc18.var8">cdisc18.var8</a>'
57                  "cdisc18.var9" = '<a name="cdisc18.var9">cdisc18.var9</a>'
58                  ;
NOTE: Format $BOOKFMT has been output.
59         
60                  *** Generate the format for dataset linking ***;
61                  value $datfmt
62                  "AE" = '<a name="AE">AE</a><br>'
63                  "AE1" = '<a name="AE1">AE1</a><br>'
64                  "AE2" = '<a name="AE2">AE2</a><br>'
65                  "AE3" = '<a name="AE3">AE3</a><br>'
66                  "AE3A" = '<a name="AE3A">AE3A</a><br>'
67                  "AETEST1" = '<a name="AETEST1">AETEST1</a><br>'
68                  "CDISC10" = '<a name="CDISC10">CDISC10</a><br>'
69                  "CDISC11" = '<a name="CDISC11">CDISC11</a><br>'
70                  "CDISC12A" = '<a name="CDISC12A">CDISC12A</a><br>'
71                  "CDISC13A" = '<a name="CDISC13A">CDISC13A</a><br>'
72                  "CDISC14" = '<a name="CDISC14">CDISC14</a><br>'
73                  "CDISC15A" = '<a name="CDISC15A">CDISC15A</a><br>'
74                  "CDISC15B" = '<a name="CDISC15B">CDISC15B</a><br>'
75                  "CDISC18" = '<a name="CDISC18">CDISC18</a><br>'
76                  "CDISC2" = '<a name="CDISC2">CDISC2</a><br>'
77                  "CDISC2_B" = '<a name="CDISC2_B">CDISC2_B</a><br>'
78                  "CDISC2_C" = '<a name="CDISC2_C">CDISC2_C</a><br>'
79                  "CDISC3A" = '<a name="CDISC3A">CDISC3A</a><br>'
80                  "CDISC3B" = '<a name="CDISC3B">CDISC3B</a><br>'
81                  "CDISC4" = '<a name="CDISC4">CDISC4</a><br>'
82                  "CDISC5" = '<a name="CDISC5">CDISC5</a><br>'
83                  "CDISC6" = '<a name="CDISC6">CDISC6</a><br>'
84                  "CDISC7" = '<a name="CDISC7">CDISC7</a><br>'
85                  "CDISC8" = '<a name="CDISC8">CDISC8</a><br>'
86                  "CDISC9" = '<a name="CDISC9">CDISC9</a><br>'
87                  "CM" = '<a name="CM">CM</a><br>'
88                  "DM" = '<a name="DM">DM</a><br>'
89                  "NOTDM" = '<a name="NOTDM">NOTDM</a><br>'
90                  "RELREC" = '<a name="RELREC">RELREC</a><br>'
4                                       The SAS System            15:16 Monday, August 15, 2005

91                  ;
NOTE: Format $DATFMT has been output.
92               run;

NOTE: PROCEDURE FORMAT used (Total process time):
      real time           0.09 seconds
      cpu time            0.00 seconds
      

93         
94               data work.cdisc;
95                  set work.cdisc;
96                  by libname datname datlab variable case;
97         
98                  attrib datvar label="Dataset and Variable" length=$100 format=$bookfmt.;
99         
100                 if variable ne '' then
101                 datvar = compress(lowcase(datname) || "." || lowcase(variable));
102                 else datvar = lowcase(datname);
103        
104                 format case casefmt.;
105                 format datname $datfmt.;
106              run;

NOTE: There were 8 observations read from the data set WORK.CDISC.
NOTE: The data set WORK.CDISC has 8 observations and 12 variables.
NOTE: DATA statement used (Total process time):
      real time           0.03 seconds
      cpu time            0.01 seconds
      

107        
108              *** Remove the special characters ***;
109              proc template;
110                 define style styles.test;
111                 parent=styles.default;
112                 style byline from titlesandfooters /
113                    protectspecialchars=off;
114                 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!
115              run;
NOTE: PROCEDURE TEMPLATE used (Total process time):
      real time           0.06 seconds
      cpu time            0.01 seconds
      

116        
117              proc sort data = work.cdisc;
118                 by libname datname datlab variable case;
119              run;

5                                       The SAS System            15:16 Monday, August 15, 2005

NOTE: There were 8 observations read from the data set WORK.CDISC.
NOTE: The data set WORK.CDISC has 8 observations and 12 variables.
NOTE: PROCEDURE SORT used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds
      

120        
121              ods listing close;
122              ods html3 file="cdisc18.html" style=styles.test;
NOTE: Writing HTML3 Body file: cdisc18.html
123              proc report data = work.cdisc (drop=usrname datetime) nowd
124                 style(header)=[font_size=2]
125                 style(column)=[font_size=2];
126              by datname datlab;
127              column libname datvar label type length case comment;
128        
129              title1 height=2 "--- Findings from CDISC Evaluation ---";
130              footnote1 height=2 "Generated on: 08/15/2005,  3:16:59 pm, Nguyen Thi Tra Nhi"
130      ! ;
131              footnote2 height=2 "Located at: C:\test\cdisc_test\testing\data";
132              format datname $datfmt.;
133              run;

NOTE: There were 8 observations read from the data set WORK.CDISC.
NOTE: PROCEDURE REPORT used (Total process time):
      real time           0.12 seconds
      cpu time            0.06 seconds
      

134              ods html3 close;
135              ods listing;
136        

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           1.26 seconds
      cpu time            0.53 seconds
      

137        

ERROR: Errors printed on pages 1,4.ERROR: Errors printed on pages 1,4.ERROR: Errors printed on pages 1,4.

NOTE: SAS Institute Inc., SAS Campus Drive, Cary, NC USA 27513-2414
NOTE: The SAS System used:
      real time           2.40 seconds
      cpu time            1.18 seconds
      
