Fehler   : 2 ==> 1 2
Warnungen: 0

NOTE: PROZEDUR PRINTTO used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds
 
 
121        proc datasets lib=test1 nolist kill;
122        quit;
 
NOTE: PROZEDUR DATASETS used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds
 
 
48                                                                                                                       Das SAS System                                                                                             11:39 Friday, March 21, 20
 
123        proc datasets lib=test2 nolist kill;
124        quit;
 
NOTE: PROZEDUR DATASETS used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds
 
 
125        %generate(data=sashelp.class, by=sex, out=test3.class)
MPRINT(GENERATE):   data;
MPRINT(GENERATE):   run;
 
NOTE: The data set WORK.DATA11 has 1 observations and 0 variables.
NOTE: DATA-Anweisung used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds
 
 
MPRINT(GENERATE):   data;
MPRINT(GENERATE):   run;
 
NOTE: The data set WORK.DATA12 has 1 observations and 0 variables.
NOTE: DATA-Anweisung used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds
 
 
MPRINT(GENERATE):   proc sort data=sashelp.class out=WORK.DATA11;
MPRINT(GENERATE):   by sex;
MPRINT(GENERATE):   run;
 
NOTE: There were 19 observations read from the data set SASHELP.CLASS.
NOTE: The data set WORK.DATA11 has 19 observations and 5 variables.
NOTE: PROZEDUR SORT used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds
 
 
MPRINT(GENERATE):   proc means noprint data=WORK.DATA11(keep=sex);
MPRINT(GENERATE):   by sex;
MPRINT(GENERATE):   output out=WORK.DATA12;
MPRINT(GENERATE):   run;
 
NOTE: There were 19 observations read from the data set WORK.DATA11.
NOTE: The data set WORK.DATA12 has 2 observations and 3 variables.
NOTE: PROZEDUR MEANS used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds
 
 
MPRINT(GENERATE):   data _null_;
MPRINT(GENERATE):   set WORK.DATA12 nobs=count;
MPRINT(GENERATE):   call symput ("count", compress(put(count,8.)));
MPRINT(GENERATE):   stop;
49                                                                                                                       Das SAS System                                                                                             11:39 Friday, March 21, 20
 
MPRINT(GENERATE):   run;
 
NOTE: There were 1 observations read from the data set WORK.DATA12.
NOTE: DATA-Anweisung used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds
 
 
MPRINT(GENERATE):   data _null_;
MPRINT(GENERATE):   set WORK.DATA12 end=eof;
MPRINT(GENERATE):   array t(1) $ 200 _temporary_;
MPRINT(GENERATE):   t(1) = 'Dataset for';
MPRINT(GENERATE):   t(1) = trim(t(1)) !! " sex=" !! trim(left(vvalue(sex)));
MPRINT(GENERATE):   t(1) = trim(t(1)) !! ' (' !! compress(put(_freq_,8.)) !! ' observations)';
MPRINT(GENERATE):   call symput ('label' !! compress(put(_n_,8.)), trim(t(1)));
MPRINT(GENERATE):   run;
 
NOTE: There were 2 observations read from the data set WORK.DATA12.
NOTE: DATA-Anweisung used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds
 
 
ERROR: Libname TEST3 ist nicht zugewiesen.
ERROR: Libname TEST3 ist nicht zugewiesen.
MPRINT(GENERATE):   data test3.class1 (label="Dataset for sex=F (9 observations)") test3.class2 (label="Dataset for sex=M (10 observations)") ;
MPRINT(GENERATE):   set WORK.DATA11;
MPRINT(GENERATE):   by sex;
MPRINT(GENERATE):   array t(1) _temporary_;
MPRINT(GENERATE):   if first.sex then t(1)+1;
MPRINT(GENERATE):   select(t(1));
MPRINT(GENERATE):   when(1) output test3.class1;
MPRINT(GENERATE):   when(2) output test3.class2;
MPRINT(GENERATE):   end;
MPRINT(GENERATE):   run;
 
NOTE: The SAS System stopped processing this step because of errors.
NOTE: DATA-Anweisung used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds
 
 
 
MPRINT(GENERATE):   proc datasets lib=work nolist;
MPRINT(GENERATE):   delete DATA11 DATA12;
MPRINT(GENERATE):   quit;
 
NOTE: Deleting WORK.DATA11 (memtype=DATA).
NOTE: Deleting WORK.DATA12 (memtype=DATA).
NOTE: PROZEDUR DATASETS used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds
 
 
50                                                                                                                       Das SAS System                                                                                             11:39 Friday, March 21, 20
 
126        %endTestcall()
MPRINT(ENDTESTCALL):   PROC PRINTTO LOG="c:\.jenkins\jobs\SASUnit Build Release ZIP-File\workspace\v1.3\example\doc\sasunit\de/log/003.log" PRINT="c:\.jenkins\jobs\SASUnit Build Release ZIP-File\workspace\v1.3\example\doc\sasunit\de/tst/003.lst" ;
MPRINT(ENDTESTCALL):   RUN;