1                                          The SAS System           16:55 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.12 seconds
      cpu time            0.85 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         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
15         %comment (data= mylib.ae,
16                  comvar=comment,
17         		  datevar=	rslvdt2,
18                  rdomain=ae,
19                  studyid=1232,
20                  usubjid = ptid,
21                  idvar = rslvdt2,
22                  output = mylib.metax
23         );

24                  data sasuser.co;
25                     set mylib.metax (label="Comments Domain Model");
26                  run;

NOTE: There were 327 observations read from the data set MYLIB.METAX.
2                                          The SAS System           16:55 Wednesday, August 17, 2005

NOTE: The data set SASUSER.CO has 327 observations and 14 variables.
NOTE: DATA statement used (Total process time):
      real time           0.10 seconds
      cpu time            0.07 seconds
      

27         
28                  data mylib.metax (label="Comments Domain Model");
29                     set mylib.metax (label="Comments Domain Model");
30                     if lowcase(rdomain) = lowcase("ae") and srcdat = "mylib.ae" then delete;
31                  run;

NOTE: There were 327 observations read from the data set MYLIB.METAX.
NOTE: The data set MYLIB.METAX has 0 observations and 14 variables.
NOTE: DATA statement used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds
      

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 updated the existing output data: mylib.metax (label="Comments Domain Model") 
      located at: C:\WorkRoom\comment\Test Macro\testing\saspgm 
  
NOTE: PROCEDURE DISPLAY used (Total process time):
      real time           22.00 seconds
      cpu time            0.50 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           23.25 seconds
      cpu time            1.42 seconds
      
