1                                                          The SAS System                            09:20 Thursday, August 18, 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.76 seconds
      cpu time            0.56 seconds
      

NOTE: AUTOEXEC processing beginning; file is C:\test\fmtsum_test\testing\saspgm\autoexec.sas.


NOTE: AUTOEXEC processing completed.

1          /*------------------------------------------------------------*
2          * program:     fmtsum2.sas                                    *
3          * Description: Verify all the formats are reported when       *
4          *              parameter datname is blank.                    *
5          * By:          Sy Truong, 6/27/2003                           *
6          *-------------------------------------------------------------*/
7          
8          
9          *** Create sample format catalog for testing ***;
10         libname curlib '..\data';
NOTE: Libref CURLIB was successfully assigned as follows: 
      Engine:        V9 
      Physical Name: C:\test\fmtsum_test\testing\data
11         
12         proc format library=curlib.formats;
13            value samecode
14               1 = "one"
15               2 = "two"
16               3 = "three";
NOTE: Format SAMECODE is already on the library.
NOTE: Format SAMECODE has been written to CURLIB.FORMATS.
17         
18            value diffcode
19               1 = "one"
20               2 = "two"
21               3 = "three"
22               4 = "four";
2                                       The SAS System          09:20 Thursday, August 18, 2005

NOTE: Format DIFFCODE is already on the library.
NOTE: Format DIFFCODE has been written to CURLIB.FORMATS.
23         
24            value diffname
25               1 = "one"
26               2 = "two"
27               3 = "three";
NOTE: Format DIFFNAME is already on the library.
NOTE: Format DIFFNAME has been written to CURLIB.FORMATS.
28         
29            value $charfmt
30               "test 1" = "one"
31               "test 2" = "two"
32               "test 3" = "three"
33               "test 4" = "four"
34               "test 5" = "five";
NOTE: Format $CHARFMT is already on the library.
NOTE: Format $CHARFMT has been written to CURLIB.FORMATS.
35         run;

NOTE: PROCEDURE FORMAT used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds
      

36         
37         %fmtsum(fmtpath=..\data);
NOTE: Libname TEMPLIB refers to the same physical library as CURLIB.
NOTE: Libref TEMPLIB was successfully assigned as follows: 
      Engine:        V9 
      Physical Name: C:\test\fmtsum_test\testing\data
NOTE: Libname LIBRARY refers to the same physical library as TEMPLIB.
NOTE: Libref LIBRARY was successfully assigned as follows: 
      Engine:        V9 
      Physical Name: C:\test\fmtsum_test\testing\data

NOTE: PROCEDURE FORMAT used (Total process time):
      real time           0.06 seconds
      cpu time            0.03 seconds
      
NOTE: The data set WORK.FORMAT has 15 observations and 21 variables.

NOTE: Libref _TEMPLIB was successfully assigned as follows: 
      Engine:        V9 
      Physical Name: C:\test\fmtsum_test\testing\saspgm

NOTE: Table WORK.FMTSUM created, with 15 rows and 3 columns.

38               data work.note;
39                  attrib data length=$100 label="Associated Data";
40                  attrib note length=$100 label="Note Message";
3                                       The SAS System          09:20 Thursday, August 18, 2005

41                  data = "";
42                  note = "There are no formats associated with this data.";
43               run;

NOTE: The data set WORK.NOTE has 1 observations and 2 variables.
NOTE: DATA statement used (Total process time):
      real time           0.04 seconds
      cpu time            0.03 seconds
      

44         
45               title " ";
46               proc print data=work.note
47                  style(header)=[font_size=2]
48                  style(column)=[font_size=2];
49         
50               run;

NOTE: There were 1 observations read from the data set WORK.NOTE.
NOTE: The PROCEDURE PRINT printed page 1.
NOTE: PROCEDURE PRINT used (Total process time):
      real time           0.09 seconds
      cpu time            0.07 seconds
      

51         proc sort data = work.fmtsum;
52            by fmtname;
53         run;

NOTE: There were 15 observations read from the data set WORK.FMTSUM.
NOTE: The data set WORK.FMTSUM has 15 observations and 3 variables.
NOTE: PROCEDURE SORT used (Total process time):
      real time           0.06 seconds
      cpu time            0.03 seconds
      

54         
55         title1 height=2'--- Format Summary ---';
56         title2 height=2'--- Format Path: ..\data ---';
57         title3 height=2'--- Data: None ---';
58         
59         proc print data = work.fmtsum label
60                  style(header)=[font_size=2]
61                  style(column)=[font_size=2];
62         
63         by fmtname;
64         run;

NOTE: There were 15 observations read from the data set WORK.FMTSUM.
NOTE: The PROCEDURE PRINT printed page 2.
NOTE: PROCEDURE PRINT used (Total process time):
4                                       The SAS System          09:20 Thursday, August 18, 2005

      real time           0.00 seconds
      cpu time            0.00 seconds
      

NOTE: The PROCEDURE DISPLAY printed pages 1-2.
NOTE: PROCEDURE DISPLAY used (Total process time):
      real time           0.53 seconds
      cpu time            0.31 seconds
      

65         

NOTE: SAS Institute Inc., SAS Campus Drive, Cary, NC USA 27513-2414
NOTE: The SAS System used:
      real time           1.46 seconds
      cpu time            0.96 seconds
      
