1                                          The SAS System           17:19 Wednesday, August 17, 2005

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           1.21 seconds
      cpu time            0.89 seconds
      

NOTE: AUTOEXEC processing beginning; file is C:\WorkRoom\comment\Test 
      Macro\testing\saspgm\autoexec.sas.

NOTE: Libref CDISCBLD was successfully assigned as follows: 
      Engine:        V9 
      Physical Name: C:\WorkRoom\comment\Test Macro\testing\saspgm

NOTE: AUTOEXEC processing completed.

1          /*--------------------------------------------------------------------------------	*
2          * program:     comment.sas                                   						   	*
3          * Description: Generate comment domain dataset as part of the SDTM of CDISC.      	*
4          * Parameters:  data    = input data set,                       						*
5          *              comvar  = comment variable 												*
6          *              datevar = date variable													*
7          *              rdomain = related domain                          						*
8          *              studyid = study identifier                           					*
9          *              usubjid = unique subject identifier										*
10         *              idvar   = identifier variable                							*
11         *              output  = output data set	                                       	*
12         * By:          Meta-Xceed, Sy Truong														*
13         *---------------------------------------------------------------------------------	*/
14         
15         libname mylib '.';
NOTE: Libname MYLIB refers to the same physical library as CDISCBLD.
NOTE: Libref MYLIB was successfully assigned as follows: 
      Engine:        V9 
      Physical Name: C:\WorkRoom\comment\Test Macro\testing\saspgm
16         proc datasets library = sasuser;
                                             Directory

           Libref         SASUSER                                                        
           Engine         V9                                                             
           Physical Name  C:\Documents and Settings\Nnguyen\My Documents\My SAS Files\9.1
           File Name      C:\Documents and Settings\Nnguyen\My Documents\My SAS Files\9.1


                                  Member       File
                     #  Name      Type         Size  Last Modified

                     1  CO        DATA       607232  17Aug05:17:09:24           
                     2  CONFIG    DATA        17408  26Jul05:13:54:00           
2                                          The SAS System           17:19 Wednesday, August 17, 2005

                                  Member       File
                     #  Name      Type         Size  Last Modified

                     3  CRON      DATA        50176  26Jul05:16:00:26           
                     4  DEPEND    DATA        17408  25Jul05:10:54:27           
                     5  PROFILE   CATALOG     25600  17Aug05:17:14:31           
                     6  PROFILE2  CATALOG     17408  17Aug05:17:19:59           
                     7  REGSTRY   ITEMSTOR    29696  17Aug05:17:14:31           
                     8  RELREC    DATA        17408  28Jul05:17:16:19           
                     9  TEMPCAT   CATALOG     17408  29Jul05:09:27:30           
                    10  TEMPLAT   ITEMSTOR    17408  02Aug05:16:04:02           
                    11  TX4       CATALOG     17408  23Jun05:09:06:50           
                    12  V         CATALOG     17408  12Jul05:17:41:02           
                    13  _DEFINE   DATA         5120  04Jul05:09:57:38           
                    14  _DEFINEA  DATA       885760  01Jul05:14:42:55           
17         	
17       !  delete co;
18         run;

NOTE: Deleting SASUSER.CO (memtype=DATA).
19         
20         %comment (data= mylib.ae,
21                  comvar=comment ptid rslvdt2,
22         		  datevar=	event,
23                  rdomain=ae,
24                  studyid=1232,
25                  usubjid = ptid,
26                  idvar = rslvdt2,
27                  output = mylib.metax1
28         );

NOTE: PROCEDURE DATASETS used (Total process time):
      real time           0.84 seconds
      cpu time            0.10 seconds
      


NOTE: Table MYLIB.METAX1 has been modified, with 15 columns.
NOTE: Table MYLIB.METAX1 has been modified, with 16 columns.
NOTE: Table WORK.INDATA created, with 327 rows and 31 columns.

ERROR: No logical assign for filename _CURFILE.ERROR: No logical assign for filename _CURFILE.ERROR: No logical assign for filename _CURFILE.
  
NOTE: [comment] has created the new output data: mylib.metax1 (label="Comments Domain Model") 
  
NOTE: PROCEDURE DISPLAY used (Total process time):
      real time           21.96 seconds
      cpu time            0.39 seconds
      

29         
30         
31         proc print data= sasuser.co;
ERROR: File SASUSER.CO.DATA does not exist.ERROR: File SASUSER.CO.DATA does not exist.ERROR: File SASUSER.CO.DATA does not exist.
3                                          The SAS System           17:19 Wednesday, August 17, 2005

32         run;

NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE PRINT used (Total process time):
      real time           0.15 seconds
      cpu time            0.03 seconds
      
33         


34         data _null_;
35         	if exist('sasuser.co') then
36         		put "NOTE: SASUSER.CO has just been created.";
37         run;

NOTE: DATA statement used (Total process time):
      real time           0.13 seconds
      cpu time            0.03 seconds
      

ERROR: Errors printed on page 2.ERROR: Errors printed on page 2.ERROR: Errors printed on page 2.

NOTE: SAS Institute Inc., SAS Campus Drive, Cary, NC USA 27513-2414
NOTE: The SAS System used:
      real time           24.56 seconds
      cpu time            1.51 seconds
      
