1                                          The SAS System           16:33 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.23 seconds
      cpu time            0.99 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         %comment (data =mylib.notexist,
17                  comvar=comment,
18           		  datevar=	rslvdt2,
19                  rdomain=ae,
20                  studyid=1232,
21                  usubjid = ptid,
22                  idvar = rslvdt2,
23                  output =
24         );

  
ERROR: [comment] specified data mylib.notexist does not exist. 
  
NOTE: PROCEDURE DISPLAY used (Total process time):
2                                          The SAS System           16:33 Wednesday, August 17, 2005

      real time           21.56 seconds
      cpu time            0.21 seconds
      


NOTE: SAS Institute Inc., SAS Campus Drive, Cary, NC USA 27513-2414
NOTE: The SAS System used:
      real time           22.92 seconds
      cpu time            1.26 seconds
      
