原程序:
LIBNAME plants 'D:\mylib';                                                                                                              
DATA plants.magnolia;                                                                                                                   
 input name $ score;                                                                                                                    
 datalines;                                                                                                                             
 wang 5                                                                                                                                 
 fang 3                                                                                                                                 
 chen 4                                                                                                                                 
;                                                                                                                                       
run;                                                                                                                                    
proc print data = plants.magnolia;                                                                                                      
run;                                                                                                                                    
运行结果:
236  LIBNAME plants 'D:\mylib';
NOTE: Library PLANTS does not exist.
237  DATA plants.magnolia;
238   input name $ score;
239   datalines;
ERROR: Library PLANTS does not exist.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: DATA statement used (Total process time):
      real time           0.00 seconds
      cpu time            0.01 seconds
243  ;
244  run;
245  proc print data = plants.magnolia;
ERROR: Library PLANTS does not exist.
246  run;
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE PRINT used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds