1                                          The SAS System          08:38 Thursday, February 16, 2006

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.31 seconds
      cpu time            0.09 seconds
      

NOTE: AUTOEXEC processing beginning; file is C:\temp\cdiscbld\testing\saspgm\autoexec.sas.

NOTE: Libref _CDISC_ was successfully assigned as follows: 
      Engine:        V9 
      Physical Name: d:\My Projects\SAS\CDISCBUILDER\sashelp

NOTE: AUTOEXEC processing completed.

1          /*------------------------------------------------------------*
2          * program:     findings2.sas                                  *
3          * Description: est the condition where the parameters: data,  *
4          *              rdomain, usubjid, testvars and  varname        *
5          *              are invalid.                                   *
6          *                                                             *
7          * By:          Meta-Xceed, Inc.                               *
8          *              Minh Nguyen, 09/07/2005                        *
9          *-------------------------------------------------------------*/
10         libname data '..\data\findings';
NOTE: Libref DATA was successfully assigned as follows: 
      Engine:        V9 
      Physical Name: C:\temp\cdiscbld\testing\data\findings
11         
12         data data.shoes;
13         attrib usubjid length=8 label="Patient ID";
14         set sashelp.shoes;
15         usubjid=datetime()*100;
16         run;

NOTE: There were 395 observations read from the data set SASHELP.SHOES.
NOTE: The data set DATA.SHOES has 395 observations and 8 variables.
NOTE: DATA statement used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds
      

17         
18         *** Test of invalid DATA ***;
19         %findings(data=data.invalid, studyid=studyid, rdomain=AU, usubjid=usubjid,
19       ! testvars=Region Product, varname=Subsidiary Stores Inventory, output=, basecode=);

  
ERROR: [findings] has an invalid dataset specified by DATA. 
2                                          The SAS System          08:38 Thursday, February 16, 2006

  
NOTE: PROCEDURE DISPLAY used (Total process time):
      real time           0.12 seconds
      cpu time            0.11 seconds
      

20         
21         *** Test of invalid RDOMAIN ***;
22         %findings(data=data.shoes, studyid=studyid, rdomain=invalid, usubjid=usubjid,
22       ! testvars=Region Product, varname=Subsidiary Stores Inventory, output=, basecode=);

  
ERROR: [findings] contains an invalid related domain: INVALID 
NOTE: valid related domain include:  AU, BM, BR, CP, DC, DR, DV, DY, EE, EG, HU, IE, IM, LB, MB, 
NE, OM, PC, PE, PP, QS, SC, SK, SL, ST, VS. 
  
NOTE: PROCEDURE DISPLAY used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds
      

23         
24         *** Test of invalid USUBJID ***;
25         %findings(data=data.shoes, studyid=studyid, rdomain=AU, usubjid=invalid, testvars=Region
25       ! Product, varname=Subsidiary Stores Inventory, output=, basecode=);

  
ERROR: [findings] has an invalid value specified by USUBJID. 
  
NOTE: PROCEDURE DISPLAY used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds
      

26         
27         *** Test of invalid TESTVARS ***;
28         %findings(data=data.shoes, studyid=studyid, rdomain=AU, usubjid=usubjid, testvars=Region
28       ! invalid, varname=Subsidiary Stores Inventory, output=, basecode=);

  
ERROR: [findings] the variable INVALID specified in TESTVAR is an invalid variable. 
  
NOTE: PROCEDURE DISPLAY used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds
      

29         
30         *** Test of invalid VARNAME ***;
31         %findings(data=data.shoes, studyid=studyid, rdomain=AU, usubjid=usubjid, testvars=Region
31       ! invalid, varname=Subsidiary invalid, output=, basecode=);

  
ERROR: [findings] the variable INVALID specified in VARNAME is an invalid variable. 
3                                          The SAS System          08:38 Thursday, February 16, 2006

  
NOTE: PROCEDURE DISPLAY used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds
      

32         

NOTE: SAS Institute Inc., SAS Campus Drive, Cary, NC USA 27513-2414
NOTE: The SAS System used:
      real time           0.53 seconds
      cpu time            0.24 seconds
      
