1                                         The SAS System          11:13 Tuesday, September 6, 2005

NOTE: Copyright (c) 1999-2001 by SAS Institute Inc., Cary, NC, USA. 
NOTE: SAS (r) Proprietary Software Release 8.2 (TS2M0)
      Licensed to META-XCEED INC, Site 0035729001.
NOTE: This session is executing on the WIN_PRO  platform.



NOTE: SAS initialization used:
      real time           0.07 seconds
      cpu time            0.06 seconds
      

NOTE: AUTOEXEC processing beginning; file is d:\My 
      Projects\SAS\CDISCBUILDER\testing\saspgm\autoexec.sas.

NOTE: Libref _CDISC_ was successfully assigned as follows: 
      Engine:        V8 
      Physical Name: d:\My Projects\SAS\CDISCBUILDER\sashelp
NOTE: Libref _CDISC_ was successfully assigned as follows: 
      Engine:        V8 
      Physical Name: d:\My Projects\SAS\CDISCBUILDER\sashelp
NOTE: Libref _CDISC_ was successfully assigned as follows: 
      Engine:        V8 
      Physical Name: d:\My Projects\SAS\CDISCBUILDER\sashelp
NOTE: Libref _CDISC_ was successfully assigned as follows: 
      Engine:        V8 
      Physical Name: d:\My Projects\SAS\CDISCBUILDER\sashelp
NOTE: Libref _CDISC_ was successfully assigned as follows: 
      Engine:        V8 
      Physical Name: d:\My Projects\SAS\CDISCBUILDER\sashelp
NOTE: Libref _CDISC_ was successfully assigned as follows: 
      Engine:        V8 
      Physical Name: d:\My Projects\SAS\CDISCBUILDER\sashelp
NOTE: Libref _CDISC_ was successfully assigned as follows: 
      Engine:        V8 
      Physical Name: d:\My Projects\SAS\CDISCBUILDER\sashelp
WARNING: Apparent symbolic reference FMTPATH not resolved.
NOTE: Library _CDISCO_ does not exist.
WARNING: Apparent symbolic reference FMTPATH not resolved.
NOTE: Libname LIBRARY refers to the same physical library as _CDISCO_.
WARNING: Library LIBRARY does not exist.
NOTE: Libref LIBRARY was successfully assigned as follows: 
      Engine:        V8 
      Physical Name: d:\My Projects\SAS\CDISCBUILDER\testing\saspgm\&fmtpath
NOTE: Libref _CDISC_ was successfully assigned as follows: 
      Engine:        V8 
      Physical Name: d:\My Projects\SAS\CDISCBUILDER\sashelp
NOTE: Libref _CDISC_ was successfully assigned as follows: 
      Engine:        V8 
      Physical Name: d:\My Projects\SAS\CDISCBUILDER\sashelp
NOTE: Libref _CDISC_ was successfully assigned as follows: 
      Engine:        V8 
      Physical Name: d:\My Projects\SAS\CDISCBUILDER\sashelp
2                                         The SAS System          11:13 Tuesday, September 6, 2005

NOTE: Libref _CDISC_ was successfully assigned as follows: 
      Engine:        V8 
      Physical Name: d:\My Projects\SAS\CDISCBUILDER\sashelp
NOTE: Libref _CDISC_ was successfully assigned as follows: 
      Engine:        V8 
      Physical Name: d:\My Projects\SAS\CDISCBUILDER\sashelp

NOTE: AUTOEXEC processing completed.

1          /*------------------------------------------------------------*
2          * program:     contents7.sas                                  *
3          * Description: Test the condition where there are some input  *
4          *              datasets cannot be opened.                     *
5          * By:          Tuan Anh, 6/09/2005                           *
6          *-------------------------------------------------------------*/
7          libname data '..\data\contents';
NOTE: Libref DATA was successfully assigned as follows: 
      Engine:        V8 
      Physical Name: d:\My Projects\SAS\CDISCBUILDER\testing\data\contents
8          
9          %contents(indata= data,reptype=,output=);

  
WARNING: [contents] was unable to access data invalid1 
         located at: d:\My Projects\SAS\CDISCBUILDER\testing\data\contents. 
  
  
WARNING: [contents] was unable to access data invalid2 
         located at: d:\My Projects\SAS\CDISCBUILDER\testing\data\contents. 
  
10         *** Create a dataset to store the index of the datasets being created ***;
11         data work.index (label="Data Set Index");
12         attrib memname length=$40 label="Dataset Name";
13         attrib memlabel length=$200 label="Dataset Label";
14         attrib link length=$100 label="Link";
15         memname = "ae";
16         memlabel = "%nrbquote(Adverse Events)";
17         link = '<a href="#CONTENTS ae">CONTENTS</a> <a href="#PRINT ae">PRINT</a>';
18         output;
19         memname = "cm";
20         memlabel = "%nrbquote(Concomitant Medications)";
21         link = '<a href="#CONTENTS cm">CONTENTS</a> <a href="#PRINT cm">PRINT</a>';
22         output;
23         memname = "co";
24         memlabel = "%nrbquote(Comments Domain Model)";
25         link = '<a href="#CONTENTS co">CONTENTS</a> <a href="#PRINT co">PRINT</a>';
26         output;
27         memname = "dm";
28         memlabel = "%nrbquote(Demographics Domain Model)";
29         link = '<a href="#CONTENTS dm">CONTENTS</a> <a href="#PRINT dm">PRINT</a>';
30         output;
31         memname = "ds";
32         memlabel = "%nrbquote(Disposition)";
3                                         The SAS System          11:13 Tuesday, September 6, 2005

33         link = '<a href="#CONTENTS ds">CONTENTS</a> <a href="#PRINT ds">PRINT</a>';
34         output;
35         memname = "ex";
36         memlabel = "%nrbquote(Exposure)";
37         link = '<a href="#CONTENTS ex">CONTENTS</a> <a href="#PRINT ex">PRINT</a>';
38         output;
39         memname = "su";
40         memlabel = "%nrbquote(Substance Use)";
41         link = '<a href="#CONTENTS su">CONTENTS</a> <a href="#PRINT su">PRINT</a>';
42         output;
43         run;

NOTE: The data set WORK.INDEX has 7 observations and 3 variables.
NOTE: DATA statement used:
      real time           0.25 seconds
      cpu time            0.00 seconds
      

44         proc template;
45         define style myhtml;
46         parent = styles.default;
47         replace fonts / 'TitleFont2' = ("Arial, Helvetica, sans-serif",3,Bold Italic)
47       ! 'TitleFont' = ("Arial, Helvetica, sans-serif",4,Bold Italic) 'StrongFont' = ("Arial,
47       ! Helvetica, sans-serif",3,Bold) 'EmphasisFont' = ("Arial, Helvetica,
47       ! sans-serif",2,Italic)
48            'FixedEmphasisFont' = ("Courier New, Courier, monospace",2,Italic) 'FixedStrongFont'
48       !  = ("Courier New, Courier, monospace",2,Bold) 'FixedHeadingFont' = ("Courier New,
48       ! Courier, monospace",2) 'BatchFixedFont' =
49            ("SAS Monospace, Courier New, Courier, monospace", 2) 'FixedFont' = ("Courier",2)
49       ! 'headingEmphasisFont' = ("Arial, Helvetica, sans-serif",3,Bold Italic ) 'headingFont' =
49       !  ("Arial, Helvetica, sans-serif",3,Bold) 'docFont' =
50            ("Arial, Helvetica, sans-serif",2);
51         style byline from titlesandfooters / protectspecialchars=off;
52         end;
NOTE: Overwriting existing template/link: Myhtml
NOTE: STYLE 'Myhtml' has been saved to: SASUSER.TEMPLAT
53         run;
NOTE: PROCEDURE TEMPLATE used:
      real time           0.32 seconds
      cpu time            0.04 seconds
      

54         *** Generate the report ***;
55         ods listing close;
56         ods html file="contents.html" style=myhtml;
NOTE: Writing HTML Body file: contents.html
57         title height=2 "Index of Datasets";
58         footnote height=2 "Generated on: 09/06/2005, 11:13:39 am, Bui Nguyen Tuan Anh";
59         proc print data = work.index label;
60         run;

NOTE: There were 7 observations read from the data set WORK.INDEX.
NOTE: PROCEDURE PRINT used:
4                                         The SAS System          11:13 Tuesday, September 6, 2005

      real time           0.32 seconds
      cpu time            0.00 seconds
      

61         footnote1 height=2 "Generated on: 09/06/2005, 11:13:39 am, Bui Nguyen Tuan Anh";
62         footnote2 height=2 "Located at: d:\My Projects\SAS\CDISCBUILDER\testing\data\contents";
63         title height=2 '<a name="CONTENTS ae">PROC CONTENTS of ae</a>';
64         proc contents data = data.ae;
65         run;

NOTE: PROCEDURE CONTENTS used:
      real time           0.26 seconds
      cpu time            0.00 seconds
      

66         title height=2 '<a name="PRINT ae">PROC PRINT of ae (first 10 observation)</a>';
67         proc PRINT data = data.ae (obs=10);
68         run;

NOTE: There were 10 observations read from the data set DATA.AE.
NOTE: PROCEDURE PRINT used:
      real time           0.04 seconds
      cpu time            0.00 seconds
      

69         title height=2 '<a name="CONTENTS cm">PROC CONTENTS of cm</a>';
70         proc contents data = data.cm;
71         run;

NOTE: PROCEDURE CONTENTS used:
      real time           0.03 seconds
      cpu time            0.01 seconds
      

72         title height=2 '<a name="PRINT cm">PROC PRINT of cm (first 10 observation)</a>';
73         proc PRINT data = data.cm (obs=10);
74         run;

NOTE: There were 10 observations read from the data set DATA.CM.
NOTE: PROCEDURE PRINT used:
      real time           0.03 seconds
      cpu time            0.00 seconds
      

75         title height=2 '<a name="CONTENTS co">PROC CONTENTS of co</a>';
76         proc contents data = data.co;
77         run;

NOTE: PROCEDURE CONTENTS used:
      real time           0.06 seconds
      cpu time            0.03 seconds
      

5                                         The SAS System          11:13 Tuesday, September 6, 2005

78         title height=2 '<a name="PRINT co">PROC PRINT of co (first 10 observation)</a>';
79         proc PRINT data = data.co (obs=10);
80         run;

NOTE: There were 10 observations read from the data set DATA.CO.
NOTE: PROCEDURE PRINT used:
      real time           0.03 seconds
      cpu time            0.00 seconds
      

81         title height=2 '<a name="CONTENTS dm">PROC CONTENTS of dm</a>';
82         proc contents data = data.dm;
83         run;

NOTE: PROCEDURE CONTENTS used:
      real time           0.04 seconds
      cpu time            0.00 seconds
      

84         title height=2 '<a name="PRINT dm">PROC PRINT of dm (first 10 observation)</a>';
85         proc PRINT data = data.dm (obs=10);
86         run;

NOTE: There were 10 observations read from the data set DATA.DM.
NOTE: PROCEDURE PRINT used:
      real time           0.03 seconds
      cpu time            0.00 seconds
      

87         title height=2 '<a name="CONTENTS ds">PROC CONTENTS of ds</a>';
88         proc contents data = data.ds;
89         run;

NOTE: PROCEDURE CONTENTS used:
      real time           0.04 seconds
      cpu time            0.00 seconds
      

90         title height=2 '<a name="PRINT ds">PROC PRINT of ds (first 10 observation)</a>';
91         proc PRINT data = data.ds (obs=10);
92         run;

NOTE: There were 10 observations read from the data set DATA.DS.
NOTE: PROCEDURE PRINT used:
      real time           0.03 seconds
      cpu time            0.00 seconds
      

93         title height=2 '<a name="CONTENTS ex">PROC CONTENTS of ex</a>';
94         proc contents data = data.ex;
95         run;

NOTE: PROCEDURE CONTENTS used:
6                                         The SAS System          11:13 Tuesday, September 6, 2005

      real time           0.04 seconds
      cpu time            0.00 seconds
      

96         title height=2 '<a name="PRINT ex">PROC PRINT of ex (first 10 observation)</a>';
97         proc PRINT data = data.ex (obs=10);
98         run;

NOTE: There were 10 observations read from the data set DATA.EX.
NOTE: PROCEDURE PRINT used:
      real time           0.04 seconds
      cpu time            0.00 seconds
      

99         title height=2 '<a name="CONTENTS su">PROC CONTENTS of su</a>';
100        proc contents data = data.su;
101        run;

NOTE: PROCEDURE CONTENTS used:
      real time           0.04 seconds
      cpu time            0.00 seconds
      

102        title height=2 '<a name="PRINT su">PROC PRINT of su (first 10 observation)</a>';
103        proc PRINT data = data.su (obs=10);
104        run;

NOTE: There were 10 observations read from the data set DATA.SU.
NOTE: PROCEDURE PRINT used:
      real time           0.03 seconds
      cpu time            0.00 seconds
      

105        ods html close;
106        ods listing;
NOTE: PROCEDURE DISPLAY used:
      real time           3.39 seconds
      cpu time            0.13 seconds
      

107        
108        
109        
110        
111        
112        
113        
114        

NOTE: SAS Institute Inc., SAS Campus Drive, Cary, NC USA 27513-2414
NOTE: The SAS System used:
      real time           3.65 seconds
      cpu time            0.43 seconds
7                                         The SAS System          11:13 Tuesday, September 6, 2005

      
