I asked this question before but that time the issue was that I had blanks in my directory, which SAS somehow did not like. This time I do not have any blank in my directory but batch run is not working for me. It either keeps on running (the DOS screen keeps rolling) or no output. I don’t get any error in my log and can run in the program but not in batch.
Can anyone have idea?
batch code:
data _null_;
file "C:\Users\ubishky\Documents\PIE.bat";
put 'C:';
put "CD C:\Users\ubishky\Documents\";
put "PIE_wc(v1.1) C:\Users\ubishky\Documents\ABCA05Cv0.txt C:\Users\ubishky\Documents\ABCA05COUTv0.txt";
RUN;
options xmin noxwait;
x "C:\Users\ubishky\Documents\PIE.bat";
I got it to work in batch mode. I just changed the exe file name into PIE. Instead of putting PIE_wc(v1.1) in the batch code, some how PIE worked.