1                                                          The SAS System                              14:38 Monday, August 22, 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.48 seconds
      

NOTE: AUTOEXEC processing beginning; file is C:\test\cdisc_test\testing\saspgm\autoexec.sas.


NOTE: AUTOEXEC processing completed.

1          /*------------------------------------------------------------*
2          * program:     cdisc10.sas                                    *
3          * Description: Verify variable labels of case #8              *
4          * By:          Sy Truong, 9/18/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          
9          *** Create some data to be selected ***;
10         data templib.cdisc10;
11            attrib notrace length=$8 label="Race";
12            attrib sex length=$8 label="Sex";
13            attrib newvar length=$8 label="Wrong Label";
14         run;

NOTE: Variable notrace is uninitialized.
NOTE: Variable sex is uninitialized.
NOTE: Variable newvar is uninitialized.
NOTE: The data set TEMPLIB.CDISC10 has 1 observations and 3 variables.
NOTE: DATA statement used (Total process time):
      real time           0.10 seconds
      cpu time            0.07 seconds
      

2                                       The SAS System            14:38 Monday, August 22, 2005

15         
16         %cdisc(datlib=templib,datname=cdisc10);
NOTE: Libref _TEMPLIB was successfully assigned as follows: 
      Engine:        V8 
      Physical Name: C:\test\cdisc_test\testing\saspgm

17               proc sort data = work.cdisc;
18                  by libname datname datlab variable case;
19               run;

NOTE: There were 3 observations read from the data set WORK.CDISC.
NOTE: The data set WORK.CDISC has 3 observations and 11 variables.
NOTE: PROCEDURE SORT used (Total process time):
      real time           0.03 seconds
      cpu time            0.01 seconds
      

20         
21               proc format;
22                  *** Generate the comments for the CDISC evaluation case number ***;
23                  value casefmt
24                  1 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#1">1</a>'
25                  2 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#2">2</a>'
26                  3 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#3">3</a>'
27                  4 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#4">4</a>'
28                  5 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#5">5</a>'
29                  6 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#6">6</a>'
30                  7 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#7">7</a>'
31                  8 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#8">8</a>'
32                  9 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#9">9</a>'
33                  10 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#10">10</a>'
34                  11 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#11">11</a>'
35                  12 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#12">12</a>'
36                  13 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#13">13</a>'
37                  14 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#14">14</a>'
38                  15 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#15">15</a>'
39                  16 = '<a href="http://meta-x.com/cdiscbuilder/cdisc.html#16">16</a>';
NOTE: Format CASEFMT has been output.
40         
41                  *** Generate the format for the bookmark of variables ***;
42                  value $bookfmt
43                  "cdisc10.notrace" = '<a name="cdisc10.notrace">cdisc10.notrace</a>'
44                  "cdisc10.sex" = '<a name="cdisc10.sex">cdisc10.sex</a>'
45                  "cdisc10.newvar" = '<a name="cdisc10.newvar">cdisc10.newvar</a>'
46                  ;
NOTE: Format $BOOKFMT has been output.
47         
48                  *** Generate the format for dataset linking ***;
49                  value $datfmt
50                  "AE" = '<a name="AE">AE</a><br>'
51                  "AE1" = '<a name="AE1">AE1</a><br>'
3                                       The SAS System            14:38 Monday, August 22, 2005

52                  "AE2" = '<a name="AE2">AE2</a><br>'
53                  "AE3" = '<a name="AE3">AE3</a><br>'
54                  "AE3A" = '<a name="AE3A">AE3A</a><br>'
55                  "AETEST1" = '<a name="AETEST1">AETEST1</a><br>'
56                  "CDISC10" = '<a name="CDISC10">CDISC10</a><br>'
57                  "CDISC11" = '<a name="CDISC11">CDISC11</a><br>'
58                  "CDISC12A" = '<a name="CDISC12A">CDISC12A</a><br>'
59                  "CDISC13A" = '<a name="CDISC13A">CDISC13A</a><br>'
60                  "CDISC14" = '<a name="CDISC14">CDISC14</a><br>'
61                  "CDISC15A" = '<a name="CDISC15A">CDISC15A</a><br>'
62                  "CDISC15B" = '<a name="CDISC15B">CDISC15B</a><br>'
63                  "CDISC18" = '<a name="CDISC18">CDISC18</a><br>'
64                  "CDISC2" = '<a name="CDISC2">CDISC2</a><br>'
65                  "CDISC21" = '<a name="CDISC21">CDISC21</a><br>'
66                  "CDISC2B_1" = '<a name="CDISC2B_1">CDISC2B_1</a><br>'
67                  "CDISC2B_2" = '<a name="CDISC2B_2">CDISC2B_2</a><br>'
68                  "CDISC2B_3" = '<a name="CDISC2B_3">CDISC2B_3</a><br>'
69                  "CDISC2_B" = '<a name="CDISC2_B">CDISC2_B</a><br>'
70                  "CDISC2_C" = '<a name="CDISC2_C">CDISC2_C</a><br>'
71                  "CDISC3A" = '<a name="CDISC3A">CDISC3A</a><br>'
72                  "CDISC3B" = '<a name="CDISC3B">CDISC3B</a><br>'
73                  "CDISC4" = '<a name="CDISC4">CDISC4</a><br>'
74                  "CDISC5" = '<a name="CDISC5">CDISC5</a><br>'
75                  "CDISC6" = '<a name="CDISC6">CDISC6</a><br>'
76                  "CDISC7" = '<a name="CDISC7">CDISC7</a><br>'
77                  "CDISC8" = '<a name="CDISC8">CDISC8</a><br>'
78                  "CDISC9" = '<a name="CDISC9">CDISC9</a><br>'
79                  "CM" = '<a name="CM">CM</a><br>'
80                  "DM" = '<a name="DM">DM</a><br>'
81                  "NOTDM" = '<a name="NOTDM">NOTDM</a><br>'
82                  "RELREC" = '<a name="RELREC">RELREC</a><br>'
83                  ;
NOTE: Format $DATFMT has been output.
84               run;

NOTE: PROCEDURE FORMAT used (Total process time):
      real time           0.06 seconds
      cpu time            0.01 seconds
      

85         
86               data work.cdisc;
87                  set work.cdisc;
88                  by libname datname datlab variable case;
89         
90                  attrib datvar label="Dataset and Variable" length=$100 format=$bookfmt.;
91         
92                  if variable ne '' then
93                  datvar = compress(lowcase(datname) || "." || lowcase(variable));
94                  else datvar = lowcase(datname);
95         
4                                       The SAS System            14:38 Monday, August 22, 2005

96                  format case casefmt.;
97                  format datname $datfmt.;
98               run;

NOTE: There were 3 observations read from the data set WORK.CDISC.
NOTE: The data set WORK.CDISC has 3 observations and 12 variables.
NOTE: DATA statement used (Total process time):
      real time           0.03 seconds
      cpu time            0.01 seconds
      

99         
100              *** Remove the special characters ***;
101              proc template;
102                 define style styles.test;
103                 parent=styles.default;
104                 style byline from titlesandfooters /
105                    protectspecialchars=off;
106                 end;
NOTE: Overwriting existing template/link: Styles.Test
NOTE: STYLE 'Styles.Test' has been saved to: SASUSER.TEMPLAT
107              run;
NOTE: PROCEDURE TEMPLATE used (Total process time):
      real time           0.07 seconds
      cpu time            0.06 seconds
      

108        
109              proc sort data = work.cdisc;
110                 by libname datname datlab variable case;
111              run;

NOTE: There were 3 observations read from the data set WORK.CDISC.
NOTE: The data set WORK.CDISC has 3 observations and 12 variables.
NOTE: PROCEDURE SORT used (Total process time):
      real time           0.01 seconds
      cpu time            0.00 seconds
      

112        
113              ods listing close;
114              filename temp "cdisc10.html";
115              ods html3 file=temp;
NOTE: Writing HTML3 Body file: TEMP
116              proc report data = work.cdisc (drop=usrname datetime) nowd
117                 style(header)=[font_size=2]
118                 style(column)=[font_size=2];
119              by datname datlab;
120              column libname datvar label type length case comment;
121        
122              title1 height=2 "--- Findings from CDISC Evaluation ---";
5                                       The SAS System            14:38 Monday, August 22, 2005

123              footnote1 height=2 "Generated on: 08/22/2005,  2:38:30 pm, Nguyen Thi Tra Nhi"
123      ! ;
124              footnote2 height=2 "Located at: C:\test\cdisc_test\testing\data";
125              format datname $datfmt.;
126              run;

NOTE: There were 3 observations read from the data set WORK.CDISC.
NOTE: PROCEDURE REPORT used (Total process time):
      real time           0.18 seconds
      cpu time            0.04 seconds
      

127              ods html3 close;
128              ods listing;
129        

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.45 seconds
      cpu time            0.60 seconds
      


NOTE: SAS Institute Inc., SAS Campus Drive, Cary, NC USA 27513-2414
NOTE: The SAS System used:
      real time           2.56 seconds
      cpu time            1.21 seconds
      
