EDIT: Your code works after I changed the %let sasbat statement to %let sasbat="C:\Program Files\SASHome\SASFoundation\9.3\sas.exe"; === [ Work history ] === Thank you very much again for the update, Patrick. Same as before, the code did not generate any output. I DID NOT run the second section of your SAS code that combines the kout datasets. I include the log message and how the working folder and the test library look like: I changed the working folder from c:\test to d:\patrick. I set the number of task iteration as two: %let rep=2; ======================================== NOTE: The file PRG is: Filename=d:\patrick\prog1.sas, RECFM=V,LRECL=256,File Size (bytes)=0, Last Modified=02Dec2014:15:03:10, Create Time=02Dec2014:14:42:40 NOTE: 37 records were written to the file PRG. The minimum record length was 0. The maximum record length was 100. NOTE: DATA statement used (Total process time): real time 0.00 seconds user cpu time 0.00 seconds system cpu time 0.00 seconds memory 277.93k OS Memory 13252.00k Timestamp 12/02/2014 03:03:10 PM NOTE: Task "task0" produced no LOG/Output. NOTE: DATA statement used (Total process time): real time 1.00 seconds user cpu time 0.01 seconds system cpu time 0.01 seconds memory 232.34k OS Memory 13252.00k Timestamp 12/02/2014 03:03:11 PM NOTE: The file PRG is: Filename=d:\patrick\prog2.sas, RECFM=V,LRECL=256,File Size (bytes)=0, Last Modified=02Dec2014:15:03:11, Create Time=02Dec2014:14:42:41 NOTE: 37 records were written to the file PRG. The minimum record length was 0. The maximum record length was 100. NOTE: DATA statement used (Total process time): real time 0.00 seconds user cpu time 0.00 seconds system cpu time 0.00 seconds memory 231.50k OS Memory 13252.00k Timestamp 12/02/2014 03:03:11 PM NOTE: Task "task1" produced no LOG/Output. NOTE: DATA statement used (Total process time): real time 1.00 seconds user cpu time 0.00 seconds system cpu time 0.00 seconds memory 232.34k OS Memory 13252.00k Timestamp 12/02/2014 03:03:12 PM ======================================= Something goes wrong in the batch mode processing? The main LOG says "NOTE: Task "task0" produced no LOG/Output." The batch processing is completely a new area to me, but I will study those material. I am googling cases that SAS batch processing produces no outputs. Thank you very much again for all of your responses. EDIT: I am reading this blog: SAS Programming for Data Mining: Parallel Processing with Single-Thread SAS license, which seems to be closely relevant to my problem. It seems that systask command operation is the product of SAS/CONNECT? My SAS license DOES contain that product. EDIT: From your comment in this thread: https://communities.sas.com/message/220782, I changed your %let sasbat statement to %let sasbat="C:\Program Files\SASHome\SASFoundation\9.3\sas.exe";. Now, it worked. I have the kout datasets in the test library, and in the d:\patrick.
... View more