1                                          The SAS System          08:35 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.12 seconds
      cpu time            0.12 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:     ordervar2.sas                                  *
3          * Description: Test condition where the paramets: data,       *
4          *              rdomain, key, basecode are invalid.            *
5          *                                                             *
6          * By:          Meta-Xceed, Inc.                               *
7          *              Minh Nguyen, 09/15/2005                        *
8          *-------------------------------------------------------------*/
9          libname data '..\data\ordervar';
NOTE: Libref DATA was successfully assigned as follows: 
      Engine:        V9 
      Physical Name: C:\temp\cdiscbld\testing\data\ordervar
10         
11         data data.shoes;
12         set sashelp.shoes;
13         run;

NOTE: There were 395 observations read from the data set SASHELP.SHOES.
NOTE: The data set DATA.SHOES has 395 observations and 7 variables.
NOTE: DATA statement used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds
      

14         data data.company;
15         set sashelp.company;
16         run;

NOTE: There were 48 observations read from the data set SASHELP.COMPANY.
NOTE: The data set DATA.COMPANY has 48 observations and 8 variables.
NOTE: DATA statement used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds
      
2                                          The SAS System          08:35 Thursday, February 16, 2006


17         data data.manage;
18         set sashelp.manage;
19         run;

NOTE: There were 12 observations read from the data set SASHELP.MANAGE.
NOTE: The data set DATA.MANAGE has 12 observations and 7 variables.
NOTE: DATA statement used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds
      

20         
21         *** Test of invalid parameter DATA ***;
22         %ordervar(data=data.xyz, rdomain=, key1=, basecode=);

  
ERROR: [ordervar] has an invalid dataset: xyz 
  
NOTE: PROCEDURE DISPLAY used (Total process time):
      real time           0.12 seconds
      cpu time            0.06 seconds
      

23         
24         *** Test of invalid parameter RDOMAIN ***;
25         %ordervar(data=data.shoes, rdomain=AZ, key1=, basecode=);

  
ERROR: [ordervar] The domain must be in ( 
'AE', 'AU', 'BM', 'BR', 'CM', 'CO', 'CP', 
'DC', 'DM', 'DR', 'DS', 'DV', 'DY', 'EE', 
'EG', 'EX', 'FH', 'HU', 'IE', 'IM', 'LB', 
'MB', 'MH', 'ML', 'NE', 'OM', 'PC', 'PE', 
'PP', 'QS', 'SC', 'SE', 'SG', 'SK', 'SL', 
'SS', 'ST', 'SU', 'SV', 'TA', 'TE', 'TI', 
'TV', 'VS') 
  
NOTE: PROCEDURE DISPLAY used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds
      

26         
27         *** Test of invalid parameter KEY ***;
28         %ordervar(data=data.company, rdomain=AU, key1=xyz, basecode=);

  
ERROR: [ordervar] was not able to find key: xyz 
NOTE: This is not in datset:  company 
  
NOTE: PROCEDURE DISPLAY used (Total process time):
      real time           0.21 seconds
      cpu time            0.18 seconds
3                                          The SAS System          08:35 Thursday, February 16, 2006

      


NOTE: SAS Institute Inc., SAS Campus Drive, Cary, NC USA 27513-2414
NOTE: The SAS System used:
      real time           0.54 seconds
      cpu time            0.40 seconds
      
